node-svg2img
node-svg2img copied to clipboard
cant load xlink:href=
<image clip-path='url(#svg-draw)' y='5%' height='831' width='831' xlink:href='https://upload.wikimedia.org/wikipedia/commons/4/45/Eopsaltria_australis_-_Mogo_Campground.jpg' preserveAspectRatio='xMidYMin'/>
Error while loading image "https://upload.wikimedia.org/wikipedia/commons/4/45/Eopsaltria_australis_-_Mogo_Campground.jpg": ReferenceError: document is not defined
AND ALSO GET
Pango-WARNING **: 10:59:03.251: couldn't load font "MicrosoftJhengHeiBold Bold Not-Rotated 120px", falling back to "Sans Bold Not-Rotated 120px", expect ugly output.
i have same problem
Sorry, I have no clue about the reason. You can try to submit this to upstream canvg to see if they can have a fix. I'll upgrade ASAP.