[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cairo plans

From: Masamichi Hosoda
Subject: Re: Cairo plans
Date: Sat, 04 Sep 2021 22:11:42 +0900 (JST)

>>>> Most PDF readers have a mapping from Adobe-Japan1 CID to Unicode
>>>> code points as follows.
>>> Is it impossible to discover this mapping from the OTF file alone?
>> If I understand correctly, yes.
> I guess Masamichi means that the mapping is not part of the font
> itself.

Yes. Thanks.

>>> Where does the OTF file say it is using encoding Adobe-Japan1-UCS
>> It is described in ROS in the CFF table.
>> ROS means `Registry-Ordering-Supplement`.
>> For the current HaranoAjiMincho-Regular.otf,
>> Registry is `Adobe`, Ordering is `Japan1`, and Supplement is `7`.
>> So it is an `Adobe-Japan1-7` font.
>> PDF readers use Adobe-Japan1-UCS2 for `Adobe-Japan1-*` fonts.
> Hopefully there is a solution that makes Cairo do the mapping work for
> us...

If I understand correctly, it is PDF readers that use Adobe-Japan1-UCS,
not PDF generators such as cairo.
If you use the PS backend and Ghostscript outputs the PDF,
it does not use Adobe-Japan1-UCS, but it works fine.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]