On Thu, 5 Nov 2026 21:17:02 GMT, Phil Race <[email protected]> wrote: > This fix resolves problems with styles of logical fonts on OL 10.2 - and any > other Linux where a font variation is used as the first component of the > Linux sans/serif/monospace desktop fonts. > > It skips such initial fonts - as identified by [wght] in the name, which > seems sufficient for now, although not fool proof. > The alternative is opening the fonts to see if they are variation fonts > during the process of gathering the names. > That is something we don't really want to do. That's why we use fontconfig. > If we need to refine this later, we will, but hopefully before that is needed > we'll have proper variation support. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
This pull request has now been integrated. Changeset: c678ea9b Author: Phil Race <[email protected]> URL: https://git.openjdk.org/jdk/commit/c678ea9b0a412f9a435e9f6f84402c0479645f3c Stats: 203 lines in 2 files changed: 202 ins; 0 del; 1 mod 8396849: [Linux] OpenType variable fonts cause problems with styled logical fonts Reviewed-by: kizune, azvegint ------------- PR: https://git.openjdk.org/jdk/pull/33761
