# LaTeX changing svg text font

I followed this answer to use a svg image in my LaTeX document, but LaTeX changes the font I used when I created the image. How can I keep the "original" I set in Inkscape?

• If you don't want to use the same font as the main document, you should just export the SVG file directly as a PDF (without the --export-latex option) and `\includegraphics` the PDF file. (The linked answer is specifically about how to export the graphics part into a PDF file and the text part separately into a TeX file that can be treated using LaTeX to produce a consistent font choice.) – Willie Wong Sep 5 '19 at 2:25
• @WillieWong Thank you, it works exactly as I want. Sorry for the foolish question but I am quite new to LaTeX. Just another thing: when I run the command without `--export-latex` I get a warning: `(inkscape:9326): Gtk-WARNING **: 13:32:30.778: Impossibile trovare il motore del tema in module_path: «hcengine»,`, which in English means something like "couldn't find the theme engine in module_path «hcengine»,". Is it a problem? – Ntakwetet Sep 5 '19 at 11:34
• I doubt it; the warning states that it cannot find the hcengine (one of the GTK/Gnome themes for high contrast). You can fix it by installing gtk-engines in your linux distribution, but it shouldn't have an effect on the pdf export of inkscape. – Willie Wong Sep 5 '19 at 18:08
• @WillieWong Your comment is the answer. Please copy and paste it as the answer so that OP can accept. – aiao Nov 30 '19 at 18:06

If you don't want to use the same font as the main document, you should just export the SVG file directly as a PDF (without the `--export-latex` option) and `\includegraphics` the PDF file. (The linked answer in your original question is specifically about how to export the graphics part into a PDF file and the text part separately into a TeX file that can be treated using LaTeX to produce a consistent font choice.)