[XeTeX] CID-keyed font support?

Akira Kakuto kakuto at fuk.kindai.ac.jp
Fri Aug 1 05:19:13 CEST 2014


Hi Khaled, Jiang,

>> I can not reproduce the crash here, so I'll leave it to Jiang to comment.

> After some tests, I found the following:

I've found the reason and fixed in r34790.

The changed line is:
--- type0.c.orig    Mon Jul 28 19:38:13 2014
+++ type0.c     Fri Aug 01 11:59:44 2014
@@ -133,7 +133,7 @@
       ERROR("%s: FontDescriptor unexpected for Type0 font.", TYPE0FONT_DEBUG_STR);
     if (!(font->flags & FLAG_USED_CHARS_SHARED) && font->used_chars)
       RELEASE(font->used_chars);
-    if (font->used_glyphs)
+    if (!(font->flags & FLAG_USED_CHARS_SHARED) && font->used_glyphs)
       RELEASE(font->used_glyphs);
     if (font->encoding)
       RELEASE(font->encoding);--- type0.c.orig    Mon Jul 28 19:38:13 2014

Thanks,
Akira




More information about the XeTeX mailing list