memononen / nanosvg

Simple stupid SVG parser
zlib License
1.71k stars 363 forks source link

Can parse styles? #111

Open squinkylabs opened 6 years ago

squinkylabs commented 6 years ago

VCVRack, which uses nanosvg, can correctly render SVG that has non-inline styles. To use with Illustrator you must set illustrator to export inline styles.

Is this a problem with nonoasvg?

memononen commented 6 years ago

NanoSVG does not support style tag, which defines the style as CSS cdata. This is not supported: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/style

SergeySlice commented 6 years ago

It is resolved with pull request #103