When Typst renders a document as SVG, all text is converted to path elements. That’s exactly what I need. However, when I embed an SVG image with text elements into the Typst file, the resulting SVG still contains the text elements. Would it be possible with Typst to also convert text in embedded SVGs to paths?
The Typst file uses the SVG image test_font.svg that contains a text element:
Hi!
I can reproduce your description. It looks like that test_font.svg is inlined as an <image> with xlink:href set to data:image/svg+xml;base64,<test_font.svg encoded as base64>" in the final SVG.
Therefore, I’m afraid you have to preprocess test_font.svg before you pass it to typst.
If you need this feature, you can submit an issue. So far, no one has mentioned the exact feature on GitHub Issues.