I expect this will be of interest to people who work on distro packaging.

https://bugs.openjdk.org/browse/JDK-8370719

Summary
In the JDk font startup code, stop look for files like /etc/redhat-release which doesn't work everywhere and
look only for /etc/os-release and extract ID and ID_VERSION out of it.
If a JDK bundled with a distro includes a custom fontconfig.properties file it will need to be named fontconfig.$ID.$ID_VERSION.properties
No more need to "know" what names are baked into JDK source code.

-phil.

Reply via email to