When generating a basic plot in Maple 2022:
Expr := x;
with(plots):
inequal(Expr < y, x = -3 .. 3, y = -3 .. 3);
I get the expected output:
But when exporting the plot as an .svg file and adding it to a Latex document, the minus sign is now rendered as "K":

What is causing this and how to fix it? The svg looks fine in Chrome/Edge. MWE in Overleaf:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{svg, graphicx, float}
\begin{document}
\begin{figure}[H]
\centering
\includesvg{test.svg}
\caption{Caption}
\label{fig:my_label}
\end{figure}
\end{document}
Edit: test.svg
Opening the file in Edge/inkscpae:



test.svgto your question, otherwise we can not use your example – David Carlisle Dec 28 '22 at 07:48test.svgadded – ZA_ Dec 29 '22 at 11:40<text x="7" xml:space="preserve" y="271" style="clip-path:url(#clipPath6); stroke:none;">K</text>so including in to latex will not change this – David Carlisle Dec 29 '22 at 12:02K? -and of cause also LaTeX. On my system, Safari, Chrome, Inkscape and mac preview showsK- that is because it is a K. – hpekristiansen Dec 29 '22 at 12:16kwhen i open it in Edge/Chrome/Inkscape. See the 2 screenshots i added – ZA_ Dec 29 '22 at 13:01test.svgthat you uploaded to pastebin (which has theKin the source) and replace all occurrences ofKwith-. Of course you would need to do that again if the file changes, but in case the figure is already finished then this would be a quick workaround. – Marijn Dec 29 '22 at 13:11Kin browser because the font is installed (ESSTIXFive). This is presumably a non-Unicode font that Maple uses for symbols. Thesvgpackage uses Inkscape for conversion and that isn't doing anything clever with fonts. theKjust gets passed through to LaTeX. I doubt there is much worth doing to fix this workflow other than usingsed 's/K/\$-\$/' < test.svg. – David Purton Dec 29 '22 at 13:50-sign correctly. – ZA_ Dec 29 '22 at 14:45