typst / svg2pdf

Converts SVG files to PDF.
Apache License 2.0
275 stars 32 forks source link

Text rendering support #13

Closed s-knibbs closed 2 years ago

s-knibbs commented 2 years ago

It seems that text rendering is not currently supported (https://github.com/typst/svg2pdf/blob/main/src/lib.rs#L471).

Is there any plan to add this?

s-knibbs commented 2 years ago

It seems that the issues was due to the fact that I didn't have the required correct fonts installed. Unfortunately, this didn't really give me the result I wanted, since the text gets converted to paths by usvg which results in a very large PDF.