typst / svg2pdf

Converts SVG files to PDF.
Apache License 2.0
292 stars 38 forks source link

Add automatic test suite for svg2pdf #33

Closed LaurenzV closed 1 year ago

LaurenzV commented 1 year ago

See the README file for a detailed description of how it works.

Let me know if you have questions/feedback!

I also was unsure if I should add the current tests as well, but since some of them are pretty big I left them out. Let me know if you want me to add them again.

LaurenzV commented 1 year ago

I just found out that there is a pretty good wrapper library around pdfium for Rust, I might end up using that one instead of the pdf.js and Node based one (because it seems to be the case that the canvas library renders masks inaccurately, so we wouldn't be able to test those. I'll close this PR for now.