Supports fonts with Apple Platform Name Tags
Johnson Lau
johnsonlaucn at gmail.com
Tue Jan 11 07:18:28 PST 2011
于 11-1-11 下午10:54, Dr Andrew John Hughes 写道:
> On 22:41 Tue 11 Jan , Johnson Lau wrote:
>> Hi,
>>
>> Some fonts shipping with Mac, like STHeiti / Hiragino series, contains
>> tags with only Mac Platform ID (=1), which causes them wrongly treated
>> as invalid format by OpenJDK because OpenJDK recognizes name tags with
>> Platform ID of MS_PLATFORM_ID (=3) ONLY currently.
>>
>> I added support for MAC_PLATFORM_ID and other possible values to make it
>> work in both OpenJDK 6& 7.
>>
>> Also, there is a patch backporting OpenType font support for OpenJDK 6.
>>
>
> If you mean:
>
> changeset: 406:acb763ebef95
> user: prr
> date: Thu May 27 08:53:45 2010 -0700
> summary: 6954424: Support OpenType/CFF fonts in JDK 7
>
> it's already in OpenJDK6.
Sorry for the silly mistake.
Just checked with my local copy.
It seems that I worked on an out-dated b20 copy and the file has been
changed since then.
Updated patches attached.
-Johnson
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jdk6-apple-platform-ttf.patch
Url: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20110111/0e7b2e26/attachment-0002.ksh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jdk7-apple-platform-ttf.patch
Url: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20110111/0e7b2e26/attachment-0003.ksh
More information about the jdk6-dev
mailing list