[XeTeX] CID-keyed font support?

Jiang Jiang gzjjgod at gmail.com
Sat Jul 19 16:28:31 CEST 2014


On Sat, Jul 19, 2014 at 4:11 PM, Akira Kakuto <kakuto at fuk.kindai.ac.jp> wrote:
> Dear Jiang Jiang ,
>
>
>> I will take a look at the warnings for non-CJK fonts.
>
>
> If I use your
> Type0Font_create_ToUnicode_stream(font);
> for
> case CIDFONT_TYPE2:
> and the original
> otf_create_ToUnicode_stream()
> for
> default:
> there are no warnings, and I could copy and paste
> Japanese character strings.

Interesting, what I got from Source Han Sans CN Regular is the default
case, the font doesn't have any extra flag (eg. CIDFONT_FLAG_TYPE1C or
CIDFONT_FLAG_TYPE1). That's why I changed the code there, I guess I
will have to check the Japanese font and see if it goes to the
CIDFONT_TYPE2 case.

- Jiang



More information about the XeTeX mailing list