Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#4036 closed defect (fixed)

non-solid strokes corrupt in SVG

Reported by: guest Owned by: Eugene Lazutkin
Priority: high Milestone: 0.9
Component: DojoX GFX Version: 0.9
Keywords: stroke, svg Cc:
Blocked By: Blocking:


Using the 0.9 Beta code: The problem seem to be that the dasharray containing the dash, dot etc. definitions in terms of arrays are by mistake modified. Making a copy of the defining array, before modifing it (e.g. multiplying with the stroke width etc.) solves the problem.

For example, adding the following at row 135 in svg.js solves the problem.


The problem persists in trunk, see

Change History (2)

comment:1 Changed 14 years ago by Eugene Lazutkin

Status: newassigned

comment:2 Changed 14 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [10039]) Fixed a bug, when a static constant data were modified by reference. Thx, anonymous! Fixes #4036.

Note: See TracTickets for help on using tickets.