I am using the font IM FELL English PRO (open-source otf here) via the fontspec package, and when I tried typesetting the characters \"{a}, \'{n} or \"{o}, I got this error:
xdvipdfmx:fatal: Type2 Charstring Parser: Parsing charstring failed: (status=-1, stack=5)
Output file removed.
Here is the MWE:
\documentclass{minimal}
\usepackage{fontspec}
\setmainfont{IM FELL English PRO}
\begin{document}
\'{n}
\end{document}
I am using XeTeX version 3.14159265-2.6-0.99991 and fontspec version 2.4a. Another user also got the same error using LuaTeX with this MWE.
Those characters do exist in this font. There are other characters that give this error (e.g. in this question), but not all accented characters have the problem; e.g. \"{u} is ok. The error also goes away if I change to another font, such as Arial. There is another similar thread where the OP there got the same error with some fonts but not others. It was suggested there for various reasons that I should start a new question.
The font developer Igino Marini told me the font had been generated in FontLab Studio and had passed the Microsoft Font Validator, and no problems have been reported to him outside of LaTeX.
Many thanks for looking into this.
otfinforeports the existence ofnacutein the font. – egreg Sep 09 '14 at 21:34fontforge; I guess it's the culprit. Also\iffontchar\font"0144returns true. – egreg Sep 09 '14 at 21:41