stroke-dasharray not converted into XML attribute

Bug #577940 reported by jazzynico on 2010-05-09
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Low
jazzynico
Scour
Undecided
Unassigned

Bug Description

Hi,

When I save this Inkscape SVG rectangle:

<rect style="fill:url(#linearGradient2982);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:3.5999999;stroke-opacity:1;stroke-dasharray:1, 1;stroke-dashoffset:0" id="rect2974" height="294.29" width="314.29" y="415.22" x="108.57" />

as Optimized SVG (with Scour), I get the following code:

<rect id="rect2974" stroke-linejoin="miter" style="stroke-dasharray:1,1;" stroke-dashoffset="0" height="294.29" width="314.29" stroke="#000" stroke-linecap="round" stroke-miterlimit="3.6" y="415.22" x="108.57" stroke-width="1" fill="url(#linearGradient2982)"/>

All styles are converted to XML attributes, except "stroke-dasharray".
Probably not too critical.

Related branches

jazzynico (jazzynico) wrote :

Forgot to say it's with Inkscape bzr rev. 9404, scour 0.24.

Changed in inkscape:
importance: Undecided → Low
jazzynico (jazzynico) wrote :

Should work with this patch (stroke-dasharray was not is the svgAttributes list).

codedread (codedread) on 2010-05-09
Changed in scour:
status: New → In Progress
codedread (codedread) on 2010-05-09
Changed in scour:
status: In Progress → Fix Committed
jazzynico (jazzynico) wrote :

Fix committed in Inkscape revision 9434.

Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
milestone: none → 0.48
status: New → Fix Committed
codedread (codedread) on 2010-07-12
Changed in scour:
status: Fix Committed → Fix Released
jazzynico (jazzynico) on 2010-08-24
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers