yWorks / svg2pdf.js

A javascript-only SVG to PDF conversion utility that runs in the browser. Brought to you by yWorks - the diagramming experts
MIT License
667 stars 104 forks source link

Orientation is not supported #31

Closed asitatmicello closed 7 years ago

asitatmicello commented 7 years ago

setting jsPDF orientation option does not change anything. Looks like there are few lines commented in this version of jsPDF lib which prevents it from rotating.

HackbrettXXX commented 7 years ago

This is probably a duplicate of this pull request. There is a fix on the way, it will come with the next release.

asitatmicello commented 7 years ago

Thanks!! I was also wondering if you guys have any plan to support addImage function of jsPDF.

yGuy commented 7 years ago

In what way do you want us to support addImage? Converting SVG to PDF does not require that functionality, or does it? Please be more specific and ideally file a new issue if you think this is something that should be addressed.

asitatmicello commented 7 years ago

Ok, let me create a new issue.