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). ------------- Commit messages: - 8397728 Changes: https://git.openjdk.org/jdk/pull/33957/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33957&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8397728 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/33957.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33957/head:pull/33957 PR: https://git.openjdk.org/jdk/pull/33957
