Well that was fast.

The problematic data is

> l.6

in

> <g id="obc_015" attrib:ob_ime="Črenšovci" fill="red">

>   <path d="M601703.6 -157836.4l.6 6.6l10.1 53.1l-6.7 27.1l-7.3

and I worked around the bug by adding 0 before .6 (== 0.6).

The grammar for path data in the SVG specification [1] says that .6 *is*
acceptable, because the digit-sequence before the decimal point is
optional:

fractional-constant:
    digit-sequence? "." digit-sequence
    | digit-sequence "."

The parser in librsvg needs to accomodate this. I believe it also
doesn't handle -.6 very well either.

-- 
SVG not correctly rendered
https://bugs.launchpad.net/bugs/370061
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to librsvg in ubuntu.

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

Reply via email to