> 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).

Phil Race has updated the pull request incrementally with one additional commit 
since the last revision:

  8396849

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/33761/files
  - new: https://git.openjdk.org/jdk/pull/33761/files/7cb374cb..cab5b30d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33761&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33761&range=01-02

  Stats: 23 lines in 2 files changed: 17 ins; 2 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/33761.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33761/head:pull/33761

PR: https://git.openjdk.org/jdk/pull/33761

Reply via email to