eirikbakke commented on issue #1446: An alternate solution to horrendous default font sizes and antialiasing on Linux URL: https://github.com/apache/netbeans/pull/1446#issuecomment-556443755 Here's the JDK patch that introduced HiDPI support on Linux, by the way: https://bugs.openjdk.java.net/browse/JDK-8137571 The per-monitor DPI scaling factor is retrieved in the native method X11GraphicsDevice.getNativeScaleFactor(int): https://github.com/openjdk/jdk/blob/d7a0fb9ebc898e76207c27166b81630e837a064a/src/java.desktop/unix/classes/sun/awt/X11GraphicsDevice.java https://github.com/openjdk/jdk/blob/7a052c979c9ef8a01a4a52195a4ab786ebbce543/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
