<AWT Dev> [8u] Review request for 8157838 Personalized Windows Font Size is not taken into account in Java8u102

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Fri May 27 16:44:43 UTC 2016


Hello,

Could you review the fix:
   bug: https://bugs.openjdk.java.net/browse/JDK-8157838
   webrev: http://cr.openjdk.java.net/~alexsch/8157838/webrev.00

   This is the regression from the fix JDK-8076545 in the JDK 8u.
   There was a request JDK-8152980 to backport the fix to JDK 8u because 
a text size is very big on Windows 10 with UI scaling set to 300% when 
the Windows L&F is used.

   However, this leads to another issue that a personalized Windows font 
size is not taken into account in Swing app with Windows L&F on JDK 8u.

   JDK 9 does not run into this issue because it contains support for 
HiDPI displays which reads the system DPI and scales a whole application 
with fonts according to system UI scale.

   The proposed solution is just to revert back the initial JDK-8076545 
fix for JDK 8u only.

Thanks,
Alexandr.



More information about the awt-dev mailing list