I use XeLaTeX, amsmath, fontspec, unicode-math and standalone to create a pdf containing one single equation which I then import to Inkscape for a poster.
When using font names with a space in it, XeLaTeX finds the font,
but in the resulting pdf the font name will be saved without the space,
e.g. Cambria Math becomes CambriaMath.
When opening the pdf in Inkscape, Inkscape will complain about a missing font,
because Inkscape doesn't know CambriaMath, but only Cambria Math.
How would I have to specify the font name in order to preserve the space character?
I tried some brackets, quotes, underscore, ... but could not find a solution.
Here is a MWE:
% !TEX program = XeLaTeX
\documentclass{standalone}
\usepackage{amsmath}
\usepackage{fontspec}
\setmainfont{Rotis Serif Std}
\setsansfont{Rotis SemiSans Std}
\usepackage[]{unicode-math}
\unimathsetup{math-style=ISO}
\setmathfont{Cambria Math}
% ==== ==== ==== ====
\begin{document}
$\displaystyle
\mathrm{det}(J) =
\begin{vmatrix}
a & b & c \\
d & e & f \\
g & h & i
\end{vmatrix} =
aei+bfg+cdh-ceg-bdi-afh
$
\end{document}
PS: Inkscape offers to replace fonts by 'the most similar font', but that gives me some other trouble so I would prefer to not replace any fonts.