librsvg parse bugs
"Markus Gyger" <[email protected]>
| Newsgroups | gmane.comp.gnome.lib.librsvg.devel |
|---|---|
| Message-ID | <[email protected]> |
librsvg seems to have problems with the following things:
- in <path d="..."/> it should treat
d="m0,0 2,2 3,3" the same as d="m0,0 l2,2 3,3" and
d="M0,0 2,2 3,3" the same as d="M0,0 L2,2 3,3"
Possibly just needs a ctx->cmd = 'l'; in the 'm' case in
rsvg_parse_path_do_cmd() in rsvg-path.c
- xlink:href is hardwired. The following two should work the same:
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<use xlink:href="some#url"/>...</svg>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:l="http://www.w3.org/1999/xlink">
<use l:href="some#url"/>...</svg>
- display="none" seems to be ignored.
<g display="none">...</g>
should have about the same effect as
<defs>...</defs>
Test file is available on http://commons.wikimedia.org/wiki/Image:Iso3098.svg
Thanks,
Markus
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/