svg2pdf
svg2pdf copied to clipboard
Converts SVG files to PDF.
### Input SVG  ### Output PDF [font-emoji.pdf](https://github.com/typst/svg2pdf/files/9486698/font-emoji.pdf)
I tried converting the Rust logo (https://upload.wikimedia.org/wikipedia/commons/d/d5/Rust_programming_language_black_logo.svg) using this tool but it looks a little off: 
Thanks for creating svg2pdf! Does it support text elements? I get a blank PDF when I try to convert the following SVG: ```svg I love SVG ```
See for [example](https://github.com/EQt/svg2pdf/blob/main/tests/clip_line.svg): The clip path is not transformed in the PDF. The bug also appears sometimes for `` in a ``roup.
Right now, I'm trying to convert a very tall SVG (2779 width by 32576 height at 96 dpi) to a multi-page PDF, but there seems to be no command line...
The [subsetter](https://github.com/typst/subsetter) we currently use doesn't yield very great results for CFF-flavored fonts, meaning that PDFs can end up being pretty big when generating documents with such fonts. Subsetting CFF...
It currently is not supported. However, unfortunately it is quite difficult to implement because PDF doesn't have native support for this.
There have been numerous issues (e.g. #43 #44 #63) where people have had issues with text not showing up. Those are all very likely because the exact font isn't installed...
Given the following SVG: ```svg Simple case ``` Here is how they are rendered in different viewers:  pdfium, pdf.js and pdfbox get the same output as Acrobat, while mupdf...