Public bug reported:

Binary package hint: librsvg2-2

Package: librsvg2-2 version 2.22.2-2

The is a parsing error in the 'd' attribute of the <path> tag.

It should be possible to compress adjacent floating numbers suppressing the 
leading " 0." of the second float:
"500.13.88" should be parsed equal to "500.13 0.88"

I will include an svg file.
Try open it in Inkscape 0.46, Firefox 3.0 and you will see the correct render.
Nautilus and command line "rsvg" will render miserably...

For reference:
http://www.w3.org/TR/SVG/paths.html#PathDataGeneralInformation
Search for "8.3.9 The grammar for path data"

P.S: I did incorrectly post this bug in 'librsvg' source, 
https://bugs.launchpad.net/ubuntu/+source/librsvg/+bug/245524
Sorry!

** Affects: librsvg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
(bad render) incorrect float parsing in data attribute in tag <path>
https://bugs.launchpad.net/bugs/259485
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to