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

Alan Hoenig ezchinesey at gmail.com
Sat Jul 28 17:16:23 CEST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20120728/42cf572f/attachment.html>


More information about the XeTeX mailing list