sammycage / lunasvg

lunasvg is a standalone SVG rendering library in C++
MIT License
818 stars 115 forks source link

Is this a rendering bug? #139

Open 9844201 opened 10 months ago

9844201 commented 10 months ago

openssl openssl.svg.zip

Unable to parse openssl.svg normally render

ivantishchenko commented 9 months ago

The SVG you attached contains the text tags in the XML.

According to the documentation text is to be implemented: https://github.com/sammycage/lunasvg/blob/9a05e196382ebe4ef7993039d069ab6312b60fac/README.md?plain=1#L45

The other SVGs you attached contain the xlink:href tag, which probably are also not implemented yet.

ivantishchenko commented 9 months ago

The SVG you attached contains the text tags in the XML.

According to the documentation text is to be implemented: https://github.com/sammycage/lunasvg/blob/9a05e196382ebe4ef7993039d069ab6312b60fac/README.md?plain=1#L45

The other SVGs you attached contain the xlink:href tag, which probably are also not implemented yet.

ivantishchenko commented 5 months ago

Is a special case of https://github.com/sammycage/lunasvg/issues/113 Will be fixed once image support is implemented.