<AWT Dev> [9] Review request for 8149115: [hidpi] Linux: display-wise scaling factor should probably be taken into account
Semyon Sadetsky
semyon.sadetsky at oracle.com
Tue Jul 5 18:59:20 UTC 2016
Hello,
Please review fix for JDK9:
bug: https://bugs.openjdk.java.net/browse/JDK-8149115
webrev: http://cr.openjdk.java.net/~ssadetsky/8149115/webrev.00/
Currently the hidpi support on linux only reads GDK_SCALE environment
variable to get the native scale. Although, Gnome3 and Unity DE use own
settings to control the interface scale. The fix adds possibility to
read those settings to make java apps hidpi scale similar to the native
apps. Currently only integer scale values are supported. If native scale
is not an integer value it is rounded to the nearest integer.
--Semyon
More information about the awt-dev
mailing list