When creating my illustrations, I use Inkscape and the font “Liberation Sans.” I then load the illustrations into Typst as SVG files, whereby the text should remain editable. However, the baseline of a subscript (same for superscript) in the editable SVG is shifted upwards compared to the baseline I get when I write the subscript directly in Typst as text (Figure 1). Interestingly, when I convert the text in the SVG to a path beforehand, it is shifted downwards. If I save the image as a PDF instead of an SVG and embed the font, the editable text and the text as a path are displayed identically, but still differently from normal Typst text (Figure 2).
Why is this the case? Is this intended? And how can I adjust the baseline in the editable SVG, i.e., move it down in this case?
Here is the link to the example: Typst
Image.pdf (36.7 KB)
