[RFC] backport opentype font support from openjdk6 to icedtea6 1.9
Omair Majid
omajid at redhat.com
Tue Aug 10 06:38:13 PDT 2010
On 08/10/2010 05:43 AM, Dr Andrew John Hughes wrote:
> On 22:55 Mon 09 Aug , Dr Andrew John Hughes wrote:
>> On 10:09 Mon 09 Aug , Omair Majid wrote:
>>> Hi,
>>>
>>> I would like to backport OpenType font support from OpenJDK6 to
>>> Icedtea6-1.9. Patches corresponding to the following two changesets will
>>> need to be added to icedtea6:
>>>
>>> http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/b577c70564b8
>>> http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/acb763ebef95
>>>
>>> Any thoughts?
>>>
>>> Cheers,
>>> Omair
>>
>> Sounds sensible. Please note that patches for 1.9 require approval on
>> the list before commit. I presume you are also going to commit this to
>> HEAD as well.
>>
Or we could wait until the next OpenJDK6 build and automatically acquire
the patch that way. I am not in any hurry about committing it to head -
as long as HEAD gets the patch before the next release (1.10?)
>> Backports should be stored in patches/openjdk/<bugid>-<summary>.patch
>> for ease of removal when they appear upstream.
>>
>> Does this fix any bugs in the IcedTea or Red Hat bugzilla as well?
>>
Yes, it fixes https://bugzilla.redhat.com/show_bug.cgi?id=525870. Not
completely - x11 native fonts are still not supported - but it does make
Java report many more fonts on the system
>> Thanks,
>> --
>> Andrew :)
>>
>> Free Java Software Engineer
>> Red Hat, Inc. (http://www.redhat.com)
>>
>> Support Free Java!
>> Contribute to GNU Classpath and the OpenJDK
>> http://www.gnu.org/software/classpath
>> http://openjdk.java.net
>> PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
>> Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
>
> Having now reviewed the changesets, I don't think this is suitable for 1.9
> as it seems to add a new feature rather than fixing a bug, making significant
> changes to TTorT1Filter to do so. Is there a specific reason for wanting it
> in 1.9?
>
Yes. Please see the bugzilla link I posted above.
> The native changes only apply to Windows platforms. Does this actually
> change things on GNU/Linux systems?
>
Surprisingly, it does. OpenJDK uses freetype which already supports
OpenType fonts [1]. Before this patch was put in, the JDK would say that
OpenType fonts are not supported and not even try to let freetype handle
OpenType fonts.
Cheers,
Omair
[1] http://freetype.sourceforge.net/freetype2/index.html#features
More information about the distro-pkg-dev
mailing list