[OpenJDK 2D-Dev] [Accessibility]Add fontconfig.properties files for SLES10/11, RHEL5, Ubuntu 8.04 etc

Jing Lv lvjing at linux.vnet.ibm.com
Tue Nov 8 05:50:21 UTC 2011

Thanks Phil, it's clear and reasonable.

On 2011/11/5 1:23, Phil Race wrote:
> Hi,
> Let me try to explain it a bit more.
> Oracle has chosen to "certify" a small number of Linux distros because 
> we can't test them all.
> That is 100% unrelated to which distros have a fontconfig.properties.
> We can certify just fine on ones that DO NOT have such a file.
> ie existence of fontconfig.properties != certifiable.
> The existence of such a file for ANY distro in JDK 7 can be considered 
> "legacy" or
> "wholly unnecessary".
> If you create one you have to go to the trouble of finding good fonts 
> you KNOW
> will be there and you have to figure out where they are etc.
> OpenJDK can't even rely on the Lucida fonts (I hope your patches 
> weren't relying
> on them else the assertion this would help openjdk would be very far 
> from the
> truth) that we traditionally used for support of West European.
> The maintenance issue is that when Ubuntu.NEXT comes out, you need to
> provide a new file. Now its darn near impossible, unless you are the 
> distro,
> to sync up a JDK release with an Ubuntu release.
> So whilst I see no problem with Ubuntu providing a custom file with their
> bundled OpenJDK build, they don't need to if they don't want to. But
> every one else should keep well away
> We do not have the resources to keep up.
> So the supported, standard, going forward solution is to NEVER use 
> these files.
> We came *this close* to deleting the lot of them in JDK 7, even the 
> ones you
> see now. A few were kept around for reasons that were not essential.
> So that, in a long nutshell, is why I don't want to see them 
> re-appear, especially
> for OpenJDK and especially for platforms we aren't going to be able to 
> test.
> -phil.
> On 11/4/2011 1:09 AM, Jing Lv wrote:
>> Hello Phil,
>>       Thanks for reply.  I understand the standard JDK (the Oracle 
>> JDK7 etc) may have some standard to follow which is judged by 
>> business decision.
>>       Anyway for the OpenJDK community, I guess it may be more 
>> helpful to open to someone is interested in and willing to 
>> contribute, and then with these patches the OpenJDK may support more 
>> platforms or have better accessibility - at least it's no harm to the 
>> community, and a plus to the code base.
>>       I don't catch you what "maintenance pain" it is, as the patch 
>> is just a few plain text configuration, without complex logic and may 
>> not break any thing.
>> On 2011/11/4 0:19, Phil Race wrote:
>>> Jimmy,
>>> 1. Adding a fontconfig.properties for a distro and version will not 
>>> make it appear on the
>>>     Oracle supported/certified list.  It will remain 
>>> unsupport/uncertified as that's a business decision.
>>> 2. Adding fontconfig.properties files is not needed in JDK 7. See 
>>> "Support for Linux Fonts" at
>>> http://download.oracle.com/javase/7/docs/technotes/guides/2d/enhancements70.html 
>>> The result is JDK uses the same fonts as the Linux desktop for 
>>> logical fonts which I think is a plus.
>>> So I don't see such a patch as needed. It just restores the 
>>> maintenance pain we have just got rid of.
>>> -phil.
>>> On 11/3/11 12:42 AM, Jing Lv wrote:
>>>> (Forward this mail for 2d list as it is more appropriate)
>>>> Hello,
>>>>          I see in the list 
>>>> (http://www.oracle.com/technetwork/java/javase/system-configurations-135212.html 
>>>> , so openjdk has the same list for support platform as standard 
>>>> jdk), SLES10/11, RHEL5 are on the list (surprising ubuntu is not), 
>>>> so I suppose  fontconfig.properties is required for SLES10/11, 
>>>> RHEL5,  I'd like to post the patch if no objection.
>>>> -------- Original Message --------
>>>> Subject:     [Accessibility]Add fontconfig.properties files for 
>>>> SLES10/11, RHEL5, Ubuntu 8.04 etc
>>>> Date:     Wed, 02 Nov 2011 14:46:51 +0800
>>>> From:     Jing Lv <lvjing at linux.vnet.ibm.com>
>>>> To:     swing-dev at openjdk.java.net
>>>> Hello,
>>>>         I happen to find out JDK7 miss  fontconfig.properties for
>>>> SLES10/11, RHEL5, Ubuntu 8.04 etc. Are these platforms supported by
>>>> OpenJDK? If so, I suppose add them may be friendly to the customers
>>>> working on that. I've prepare some patch,  the file
>>>> fontconfig.properties and modification on the makefile. I'd like to 
>>>> post
>>>> it on the list if no objection.
>>>>         Thank you.
>>>> Jimmy

More information about the 2d-dev mailing list