I have an SVG image which is rendered correctly with Inkscape and other SVG viewers but not wxSVG. When I examined it I found that lines like
style="stop-color:#aaa;stop-opacity:1"
were problematic because wxSVG seems to interpret them as 6-digit hex color instead of 3-digit. So I wrote a little patch to fix that problem. It would be good to have this in the next release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have an SVG image which is rendered correctly with Inkscape and other SVG viewers but not wxSVG. When I examined it I found that lines like
style="stop-color:#aaa;stop-opacity:1"
were problematic because wxSVG seems to interpret them as 6-digit hex color instead of 3-digit. So I wrote a little patch to fix that problem. It would be good to have this in the next release.
Patch against 1.5.3 version
Testcase image. Taken from default ubuntu icon theme.
Thanks for the patch. It's applied in wxSVG 1.5.4.