[XeTeX] Can't compile Chinese in Mountain Lion OS X

Herbert Schulz herbs at wideopenwest.com
Sat Jul 28 23:16:35 CEST 2012

On Jul 28, 2012, at 10:16 AM, Alan Hoenig <ezchinesey at gmail.com> wrote:

> I use TeXShop (v3.11) to run XeTeX on a Mac Mini.  A large book project
> containing Chinese suddenly failed to compile with the message
> ** WARNING ** Unable to read OpenType/TrueType Unicode cmap table.
> ** WARNING ** Failed to load ToUnicode CMap for font "STKaiti"
> ** ERROR ** Invalid glyph index (gid 13383)
> Output file removed.
> Error 256 (driver return code) generating output;
> file chitest.pdf may not be valid.
> Just before this problem appeared, I upgraded the OS to Mac OSX 10.8,
> Mountain Lion.  (The upgrade includes several new Chinese fonts, which is
> why I was anxious for the upgrade.)
> I used a test file to reproduce the error, which doesn't seem to occur if
> the font contains a modest number of glyphs, say a few thousand or less.
> It is a problem for large fonts (like STKaiti) with more than 32k
> characters.
> Can anyone shed light on this situation, and what to do to about it?  Many
> thanks...
> ---Alan Hoenig


Could you supply a sample file that shows the problem so we can try it on our systems.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the XeTeX mailing list