New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path element cannot be exported to PDF #269
Comments
As per #51 , we really should see about updating jsPDF (possibly requiring an update to the fork I was using for the SVG plugin or resuming use of upstream)... PRs welcome! |
Btw, which browser were you testing in? In my case, when I test in Firefox (as Chrome is not working for me), I see nothing at all in the PDF... FWIW, exporting to PNG works fine... |
jsPDF supports bezier curves. But Maybe svgedit should use
|
I fixed it partially. But have not send PR. It can export normal curves to PDF. |
I am solving the |
I tried to write a cypress case for |
Awww.. Hopefully learned at least what not to do. :-) You tried a PDF parser or what? |
Not PDF. I just tried to test the |
My fix now supports all path commands except arc commands(A,a) to be exported to pdf. |
@cuixiping you rock! |
Currently, only
line, rect, ellipse, circle, text
elements can be exported to pdf.see
jspdf.plugin.svgToPdf.js
.Any
<path>
element in the svg document cannot be exported to pdf.The following svg document will be exported as an empty pdf.
2 path elements are ignored.
The text was updated successfully, but these errors were encountered: