GNOME Bugzilla – Bug 548494
bad render of <path> elements (d parameter not parsed)
Last modified: 2008-08-21 19:35:00 UTC
Please describe the problem: 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 Steps to reproduce: 1. open file 2. can't see two black squares... Actual results: Expected results: Does this happen every time? yes Other information:
Created attachment 116982 [details] test svg, bad render
Fix committed in revision 1167. Thanks.