<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks for looking into this. I'm commenting here because I don't
think I am able to to add comments in JDK-8321151.<br>
<br>
if exact scaling is difficult, any reasonable approximation would be
better than falling back to the Windows NT LookAndFeel, as Phil Race
has commented in JDK-8321151.<br>
<br>
Simon<br>
<br>
<div class="moz-cite-prefix">On 11/12/2023 15:01, Aleksei Ivanov
wrote:<br>
</div>
<blockquote
cite="mid:b1e3f689-bab5-482c-a9de-84d272e943ab@oracle.com"
type="cite">This has been tracked down to be a regression of
JDK-8294427 [1] which introduced the dependency on the
OpenThemeDataForDpi [2] function from Windows API. The function is
available since Windows 10 version 1703.
<br>
<br>
The code review [3] for JDK-8294427 has a discussion [4] on
whether support for older versions of Windows should be
considered.
<br>
<br>
At that time, it was deemed infeasible [5] to provide this
support.
<br>
<br>
The compatibility problem is now tracked as JDK-8321151 [6].
<br>
<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8294427">https://bugs.openjdk.org/browse/JDK-8294427</a>
<br>
[2]
<a class="moz-txt-link-freetext" href="https://learn.microsoft.com/en-us/windows/win32/api/uxtheme/nf-uxtheme-openthemedatafordpi">https://learn.microsoft.com/en-us/windows/win32/api/uxtheme/nf-uxtheme-openthemedatafordpi</a><br>
[3] <a class="moz-txt-link-freetext" href="https://github.com/openjdk/jdk/pull/13701">https://github.com/openjdk/jdk/pull/13701</a>
<br>
[4]
<a class="moz-txt-link-freetext" href="https://github.com/openjdk/jdk/pull/13701#discussion_r1180829485">https://github.com/openjdk/jdk/pull/13701#discussion_r1180829485</a>
<br>
[5]
<a class="moz-txt-link-freetext" href="https://github.com/openjdk/jdk/pull/13701#discussion_r1227202738">https://github.com/openjdk/jdk/pull/13701#discussion_r1227202738</a>
<br>
[6] <a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8321151">https://bugs.openjdk.org/browse/JDK-8321151</a>
<br>
<br>
</blockquote>
<br>
</body>
</html>