stroke-dasharray not converted into XML attribute

Bug #577940 reported by jazzynico
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
jazzynico
Scour
Fix Released
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

Revision history for this message
jazzynico (jazzynico) wrote :

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

Changed in inkscape:
importance: Undecided → Low
Revision history for this message
jazzynico (jazzynico) wrote :

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

codedread (codedread)
Changed in scour:
status: New → In Progress
codedread (codedread)
Changed in scour:
status: In Progress → Fix Committed
Revision history for this message
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)
Changed in scour:
status: Fix Committed → Fix Released
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.