[XeTeX] CID-keyed font support?

Khaled Hosny khaledhosny at eglug.org
Fri Aug 1 02:54:42 CEST 2014


On Fri, Aug 01, 2014 at 09:52:47AM +0900, Akira Kakuto wrote:
> Hi Khaled,
> 
> >>I have found the location where the crash occurs:
> >>
> >>
> >>--- type0.c.orig    Mon Jul 28 19:38:13 2014
> >>+++ type0.c    Fri Aug 01 09:06:25 2014
> >>@@ -132,7 +132,7 @@
> >>     if (font->descriptor)
> >>       ERROR("%s: FontDescriptor unexpected for Type0 font.", TYPE0FONT_DEBUG_STR);
> >>     if (!(font->flags & FLAG_USED_CHARS_SHARED) && font->used_chars)
> >>-      RELEASE(font->used_chars);
> >>+      RELEASE(font->used_chars); /* The crash occurs here */
> >>     if (font->used_glyphs)
> >>       RELEASE(font->used_glyphs);
> >>     if (font->encoding)
> >>
> >>
> >>In the case of the example on Windows, font->used_chars seems to be
> >>broken, though it is not NULL.
> 
> >Can you send me the DVI file? (I just discovered that, for some reason, I
> >don't have any of the CJK collections installed. I'm installing them
> >now but my connection is not that fast...).
> 
> I attach sample.tar.gz.
> Japanese font is needed to typeset sample.dvi, though Japanese characters are
> not written explicitly.
> 
> ( If I remove the above RELEASE(font->used_chars); the example works ok on Windows.)

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

Regards,
Khaled



More information about the XeTeX mailing list