The error message is:
xdvipdfmx:fatal: CID count > 65535
I am a newbie at TeX. I tried looking at the .log, .out and .aux files but nothing seemed to click. I'm on a Mac with MacTex 2014 just freshly installed. The error showed up in both TeXstudio and TeXShop when trying to compile with XeLaTex.
[Update] I managed to reduce the source code to the following snippet, which triggers the error on my Mac:
\documentclass[10pt,a4paper]{article}
\usepackage{amsmath, amsfonts, amssymb}
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=Rare}
\setmainfont{Hoefler Text}
\begin{document}
$\mathbf{\Sigma}$
\end{document}
Best Answer
I can reproduce the issue with Hoefler Text, Palatino and Optima; I suspect that such fonts have some problems for limiting cases such as this one.
However, the problem is caused by
\mathbf{\Sigma}
. What happens is that\mathbf
sets the math group to 5 (with the example file, the number is not fixed) and the correspondent font isSuch a font has nothing in slot
"06
that's the target of\Sigma
, which is defined as the math character"7406
("7
means variable family,"4
means the default math group,"06
the slot). While this seems innocuous for some fonts, it creates problems with the fonts listed above. Here's the log fromxdvipdfmx
:Maybe somebody else can find a meaning to this. But this just hides the main problem: nothing at all will be printed for
\mathbf{\Sigma}
with whatever font you use as main document font, because OpenType and TrueType fonts have nothing in slot"06
.Solution: