[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] RFR: 8230873 [AIX] GUI app does not work with UTF-8 locale on minimum software 
From:       Ichiroh Takiguchi <takiguc () linux ! vnet ! ibm ! com>
Date:       2019-09-24 7:54:20
Message-ID: f02ca13a06dde70b4024a123265360c1 () linux ! vnet ! ibm ! com
[Download RAW message or body]

Hello.

I'm sorry, I made a typo in the Subject.

Could you review the fix ?

Bug:    https://bugs.openjdk.java.net/browse/JDK-8230873
Change: https://cr.openjdk.java.net/~itakiguchi/8230873/webrev.00/

Thanks,
Ichiroh Takiguchi
IBM Japan, Ltd.

On 2019-09-24 02:16, Ichiroh Takiguchi wrote:
> Hello.
> 
> Could you review the fix ?
> 
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8230873
> Change: https://cr.openjdk.java.net/~itakiguchi/8230873/webrev.00/
> 
> GUI application does not work with AIX's JA_JP UTF-8 locale on minimum
> software requirements and settings because of following exception:
>   Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:
>   class sun.font.CompositeFont cannot be cast to class 
> sun.font.PhysicalFont
>   (sun.font.CompositeFont and sun.font.PhysicalFont are in module
>   java.desktop of loader 'bootstrap')
> 
> About the reasons for this exception:
> 1. Default physical font is not defined (like Lucida sans)
> 2. XLFD charset name entries for JA_JP locale have Underscore character
>    (Underscore character replaces with Space character on 
> fontconfig.proeprties
>    (fontconfig.bfs) file loading phase.)
> 
> About "1", I'd like to handle it by JDK-8221741 [1].
> About "2", OpenJDK for AIX is using fontconfig.properties 
> (fontconfig.bfc) file
> to find out TrueType fonts.
> On AIX JCK UTF-8 locales, Java cannot find out TrueType font because
> above XLFD charset name issue.
> 
> This fix only changes fontconfig.properties for AIX platform
> * make/data/fontconfig/aix.fontconfig.properties
> 
> [1] https://bugs.openjdk.java.net/browse/JDK-8230873
> 
> Thanks,
> Ichiroh Takiguchi
> IBM Japan, Ltd.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic