<AWT Dev> [OpenJDK 2D-Dev] [PATCH FOR REVIEW]: Update fontconfig property files
Phil.Race at Sun.COM
Thu Mar 11 13:16:45 PST 2010
The changes look OK to me. Since we aren't using X11 to render
these fonts there's no need to add mappings to the appropriate NIO encoders
for those new language/script symbols.
The fontconfig code is a JDK 7 feature and this is a JDK 6 change I believe.
Also note that there's nothing wrong (even in JDK7) with providing a
fontconfig file that's just right for your distro.. the fontconfig code is
motivated more by the fact that the JDKs that are separate from a distro
need some way to keep up with these sorts of changes.
I think these files being updated were ones I hacked together in maybe 2007
to support what distros were current at the time we open sourced JDK.
Its not required that they be what a distro actually uses.
FWIW historically in JDK rather than just "update" the file, we append
the specific version it was targeted at to the name, and make the new
updated one the default for everything else. You might want to consider
doing that here although if those distros are so far past EOSL it likely
doesn't matter in this case. Solaris by contrast is supported for a
long, long time.
Andrew John Hughes wrote:
> On 11 March 2010 20:53, Roman Kennke <Roman.Kennke at sun.com> wrote:
>>>> The current fontconfig property files in OpenJDK:
>>>> are outdated. They pertain to Fedora Core 6 (released October 24th,
>>>> 2006 and not supported for several years) and Ubuntu 6.10 (released
>>>> October 26th, 2006 and no longer supported since April 25th, 2008).
>> Are they actually still used? I was under the impression that fontconfig
>> is used to get the correct font locations.
> doko updated them this week so I assume they still make some difference. doko?
More information about the awt-dev