[XeTeX] CID-keyed font support?

Jiang Jiang gzjjgod at gmail.com
Fri Aug 1 12:28:21 CEST 2014


Hi,

On Fri, Aug 1, 2014 at 5:19 AM, Akira Kakuto <kakuto at fuk.kindai.ac.jp> wrote:
> 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 a lot Akira, this looks like the correct fix. I'm sorry that I
missed the flag in my earlier patch.

- Jiang



More information about the XeTeX mailing list