<Swing Dev> [9] Review request for 8058742: Text size is twice bigger under GTK L&F on Gnome with HiDPI enabled

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Jul 6 13:13:08 UTC 2016


Hello,

Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8058742

webrev: http://cr.openjdk.java.net/~ssadetsky/8058742/webrev.00/

After adding hdpi support to JDK the GTK LnF fonts are scaled twice 
using the JDK UI scale factor and the native scale factor derived from 
the screen dpi setting.  The fix removes the native scale if it is 
already taken into account in the JDK UI scale.

--Semyon




More information about the swing-dev mailing list