Open jliebrand opened 6 years ago
I had a quick look at your SVG. I think you're running into an upstream issue (https://github.com/mapnik/mapnik/issues/2968) with xlink:href properties in Mapnik's SVG renderer – which is what spritezero uses under the hood. As a workaround, consider applying the fill
and stroke
properties directly to your path.
Thanks - that mapnik bug was raised three years ago with the last update one year ago... doesn't sound like that'll get fixed any time soon?
Unfortunately the svgs I have (lots of them) are produced via figma.com where I do not have control over the export properties. And I've yet to find a tool that can (mass)update them either :-/
maybe you can do it with inkscape, which is scriptable.
The attached svg does not seem to get converted in to the png sprite (nor does it throw an error btw).
I suspect the
Star.svg.zip