yWorks / jsPDF

JavaScript PDF generation to work with SVG
MIT License
56 stars 23 forks source link

Dependency of canvg #25

Closed ThomasJunk closed 5 years ago

ThomasJunk commented 5 years ago

I know this version is meant to be compatible to upstream. OTOH, this version is used together with svg2pdf. For the workings of svg2pdf the dependency to canvg is not necessary. Is it here for compatibiliy reasons or could it be removed?

HackbrettXXX commented 5 years ago

You are right. It is not required for svg2pdf to work, but we want to stay compatible to upstream, which is why we will keep the dependency. If you're using jsPDF only together with svg2pdf you do not need to load/bundle canvg. The same goes for html2canvas and stackblur-canvas.

ThomasJunk commented 5 years ago

Thanks for clarification.