nanosvg icon indicating copy to clipboard operation
nanosvg copied to clipboard

W3C SVG logo is broken

Open FitzerIRL opened this issue 7 years ago • 4 comments

All the following Logos are broken in nanosvg.

Seem like clipping/masking issue ?

https://www.w3.org/Icons/SVG/svg-w3c-v.svg https://www.w3.org/Icons/SVG/svg-logo-v.svg https://www.w3.org/Icons/SVG/svg-logo-h.svg

... any thoughts ?

Failed images and Safari images attached...

screen shot 2018-12-03 at 8 57 26 am screen shot 2018-12-03 at 8 57 37 am screen shot 2018-12-03 at 8 58 04 am screen shot 2018-12-03 at 8 58 15 am screen shot 2018-12-03 at 8 58 44 am screen shot 2018-12-03 at 8 58 49 am

FitzerIRL avatar Dec 03 '18 14:12 FitzerIRL

It's the use of the <text> tags ... which is unsupported by nanosvg

FitzerIRL avatar Dec 03 '18 14:12 FitzerIRL

Also uses <defs> </defs> and reference to the definitions <use xlink:href="#svgstar"/> <use xlink:href="#base" opacity="0.85"/> <use xlink:href="#SVG"/> .. which break

FitzerIRL avatar Dec 03 '18 14:12 FitzerIRL

Also see https://github.com/memononen/nanosvg/issues/129.

Frenzie avatar Dec 22 '20 15:12 Frenzie

Additionally, as @Frenzie stated, "http://github.com/memononen/nanosvg/issues/203" is relevant.

RokeJulianLockhart avatar Jul 15 '22 16:07 RokeJulianLockhart