XAML export omits fractional stroke widths
Bug #1350817 reported by
Johannes Rössel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Johannes Rössel |
Bug Description
The XAML export rounds stroke widths to the nearest integer. This causes elements with StrokeThickness="0" to be emitted if the stroke width was below 0.5 before.
I don't know *why* the rounding was done, but it definitely destroys certain SVGs. I attached a patch that removes the rounding.
Related branches
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Looks sensible. I don't know why it is currently rounded. An old specification maybe?
Thanks for your patch. I'll try to test it later next week.