[OpenJDK 2D-Dev] RFR: 8221741 [AIX] Unexpected X11 bitmap fonts are loaded because of fontconfig.properties

Philip Race philip.race at oracle.com
Wed Apr 3 16:09:29 UTC 2019



On 4/2/19, 9:27 AM, Ichiroh Takiguchi wrote:
> Hello.
> (I am sorry to post it again. Previously, I posted the wrong mailing 
> list.)
>
> Could you review the fix ?
>
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8221741
> Change: https://cr.openjdk.java.net/~itakiguchi/8221741/webrev.00/
>
> I'd like to obtain a sponsor for this issue.
>
> On AIX platform, fontconfig.properties file is used to pick up proper 
> fonts.
> TrueType font settings are written by XLFD format on 
> fontconfig.properties file.
>
> On current implementation, Java tries to load X11 bitmap fonts even if 
> these are not used.

I think you need to clarify what you mean here.

I'd like you to provide a step by step analysis of what happens and
what the effect of your proposed change is on AIX *AND* what it might
mean for other X11 platforms, as I don't have time to reverse engineer the
reasons for the odd-looking change.
It looks like a hack to short-circuit support your syntax.
Right now I am saying no to this.

> This font load work is almost name as "xlsfonts -ll".
> It spends many CPU time and memories.
>
> Just font name format should be supported.

Not clear enough for me.

-phil.
>
> To SAP representative,
> I have a question about copyright year on 
> make/data/fontconfig/aix.fontconfig.properties.
> Please let me know how I should write down copyright year.
>
> Thanks,
> Ichiroh Takiguchi
> IBM Japan, Ltd.
>


More information about the 2d-dev mailing list