On Sat, Jul 19, 2014 at 1:40 PM, Akira Kakuto <kak...@fuk.kindai.ac.jp> wrote: > Dear Jiang Jiang, > > >> But there are many warnings, probably for non-CJK fonts: > > > The warnings disappear if I apply an attached > patch: type0.c.diff.
I'm not sure if the last section is correct as it will very likely break the ToUnicode mappings. The idea here is to use the real glyph ids for "used chars" testing in otf_create_ToUnicode_stream() while keeping the cids for ToUnicode mapping generation. By using Type0Font_get_usedchars(font) instead of Type0Font_get_usedglyphs(font) we will attempt to use the cids for used chars testing and resulting wrong mappings. I will take a look at the warnings for non-CJK fonts. - Jiang -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex