svg2pdf icon indicating copy to clipboard operation
svg2pdf copied to clipboard

Converts SVG files to PDF.

Results 9 svg2pdf issues
Sort by recently updated
recently updated
newest added

### Input SVG ![font-emoji](https://user-images.githubusercontent.com/3468483/188361525-7bf7a5dc-86e0-47aa-9041-160e72e65d66.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: ![image](https://user-images.githubusercontent.com/7853372/185191716-3484724b-cd9d-412d-ae47-b3db90d9f24e.png)

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...

enhancement

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...

enhancement

It currently is not supported. However, unfortunately it is quite difficult to implement because PDF doesn't have native support for this.

enhancement

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...

enhancement

Given the following SVG: ```svg Simple case ``` Here is how they are rendered in different viewers: ![mask_luminance-0](https://github.com/user-attachments/assets/83d2de6c-3e8f-4f78-9dfb-06cc07363552) pdfium, pdf.js and pdfbox get the same output as Acrobat, while mupdf...