RFR: 8322251: [Linux] JavaFX is not displaying CJK on Ubuntu 23.10 and later

Andy Goryachev angorya at openjdk.org
Wed Apr 10 19:13:09 UTC 2024


On Wed, 10 Apr 2024 19:01:57 GMT, Phil Race <prr at openjdk.org> wrote:

> The Linux font lookup code is rejecting CFF OpenType fonts.
> Since these are becoming common because of the Noto family this could soon be quite a problem.
> I expect this fix is a candidate for backporting.

modules/javafx.graphics/src/main/native-font/fontpath_linux.c line 417:

> 415:              */
> 416:             if ((fontformat != NULL) &&
> 417:                 ((strcmp((char*)fontformat, "TrueType") != 0) &&

Code in `javax.web` uses `equalLettersIgnoringASCIICase` in a similar situation, should we use case-insensitive comparison here?

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1439#discussion_r1559940651


More information about the openjfx-dev mailing list