Jommy
Jommy

Reputation: 1105

SVG exported from Inkscape are rendered with different font

I have opened a PDF with Inkscape and exported it in Plain SVG. However, when I open it in any browser, the text is rendered with a different font.

Upvotes: 3

Views: 2265

Answers (1)

Jommy
Jommy

Reputation: 1105

This happens because the font-family property in the SVG file might be set to a font that is not installed on the system. In my case, it was DejaVuSans.

You should open the SVG file in a text editor and replace all font-family:DejaVuSans with, for example, font-family:Arial.

Upvotes: 2

Related Questions