You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for making svg-to-pdfkit! This might sound weird, but this is how I use the library. I export a canvas to svg using the library 'canvas2svg'. Then I export that svg to pdfkit using 'svg-to-pdfkit'. The reason is that I haven't found any other way to get high quality images and text from canvas to pdf.
In my canvas I combine text with imported images, which works great for most cases I have tried. But I have one image that generates quite strange pdf output, altough the svg exported from the canvas looks good. So there is probably some part of this svg that messes things up for svg-to-pdfkit or for pdfkit, but I can't figure out what.
Thanks for making svg-to-pdfkit! This might sound weird, but this is how I use the library. I export a canvas to svg using the library 'canvas2svg'. Then I export that svg to pdfkit using 'svg-to-pdfkit'. The reason is that I haven't found any other way to get high quality images and text from canvas to pdf.
In my canvas I combine text with imported images, which works great for most cases I have tried. But I have one image that generates quite strange pdf output, altough the svg exported from the canvas looks good. So there is probably some part of this svg that messes things up for svg-to-pdfkit or for pdfkit, but I can't figure out what.
This is the svg I'm importing to svg-to-pdfkit: https://www.dropbox.com/s/vr02r6lif2flw9k/test.svg?dl=0
This is the pdf output I get: https://www.dropbox.com/s/sy5fy82r1e27xca/test.pdf?dl=0
Any idea of why this is happening?
Thank you!
The text was updated successfully, but these errors were encountered: