On Tue, 24 Nov 2026 23:10:42 GMT, Phil Race <[email protected]> wrote:

>> This updates a previous fix https://github.com/openjdk/jdk/pull/33761 to 
>> only skip over nfonts / 2 variable fonts.
>> 
>> So if a system has (say) just one font and it is a variable font, we'll now 
>> accept it which is better than no fonts.
>> 
>> 
>> ---------
>> - [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:
> 
>   8397728

src/java.desktop/unix/native/common/awt/fontpath.c line 1118:

> 1116:                 if ((skipVarFonts == 1) && (fontCount == 0) && (j == 
> (nfonts - 1))) {
> 1117:                     skipVarFonts = 0;
> 1118:                     skippedVarFonts = 0;

seems the variable name is "skippedVarFont"

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33957#discussion_r4690601698

Reply via email to