piqnt / svgexport

SVG to PNG/JPEG command-line tool and Node.js module
927 stars 85 forks source link

Puppeteer does not render <svg><use xlink:href> #82

Open MusicOnline opened 4 years ago

MusicOnline commented 4 years ago

I tried to export an SVG with CSS but got different results between versions 0.3.2 and 0.4.0.

This is what I got in a Chromium browser and with PhantomJS (svgexport@0.3.2): 0f9a8_frame0008

This is what I got with Puppeteer (svgexport@0.4.0): image (ignore the background, only pay attention to the paths/strokes, I was lazy to reinstall 0.4.0 just for this)

I assume this is a Puppeteer issue but I am reporting it here first in case there's more to this or something that can be done in svgexport?