<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
FYI
<div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
<table cellpadding="0" cellspacing="0" border="0" class="moz-email-headers-table">
<tbody>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Subject:
</th>
<td>JDK-8370719: [Linux] Use /etc/os-release values for font
configuration file names</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Date: </th>
<td>Mon, 27 Oct 2025 13:10:10 -0700</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">From: </th>
<td>Philip Race <a class="moz-txt-link-rfc2396E" href="mailto:philip.race@oracle.com"><philip.race@oracle.com></a></td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:client-libs-dev@openjdk.org">client-libs-dev@openjdk.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:client-libs-dev@openjdk.org"><client-libs-dev@openjdk.org></a></td>
</tr>
</tbody>
</table>
<br>
<br>
I expect this will be of interest to people who work on distro
packaging.<br>
<br>
<a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8370719" moz-do-not-send="true">https://bugs.openjdk.org/browse/JDK-8370719</a><br>
<br>
Summary <br>
In the JDk font startup code, stop look for files like <span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration: none; display: inline !important; float: none;">/etc/redhat-release
which doesn't work everywhere and<br>
look only for /etc/os-release and extract ID and ID_VERSION out
of it.<br>
If a JDK bundled with a distro includes a custom
fontconfig.properties file it will need to be named </span><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration: none; display: inline !important; float: none;"><span class="Apple-converted-space"> </span>fontconfig.$ID.$ID_VERSION.properties<br>
No more need to "know" what names are baked into JDK source
code.<br>
<br>
-phil.<br>
</span><span style="caret-color: rgb(23, 43, 77); color: rgb(23, 43, 77); font-family: "DejaVu Sans", sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration: none; display: inline !important; float: none;"><br>
</span> </div>
</body>
</html>