eirikbakke opened a new pull request #3113: URL: https://github.com/apache/netbeans/pull/3113
This commit modifies the NetBeans IDE launcher scripts to automatically handle two display-related conditions on Linux: 1) Automatically enable the -Dawt.useSystemAAFontSettings system parameter if necessary to enable anti-aliased text. Veteran NetBeans users have known about this setting for a long time, but after a lot of research, I believe I have found the specific condition in which it is necessary, namely on the K desktop environment. 2) Automatically detect cases where the user has enabled 2x HiDPI scaling, via the Xft.dpi Xresource, and set the GDK_SCALE environment variable accordingly so that OpenJDK will handle this accordingly. This seems to work on both KDE and Gnome. HiDPI scaling works best on FlatLAF, but seemed to work tolerably on the default GTK LAF as well. (Perhaps in the future we should consider making FlatLAF the default LAF on Linux.) See the in-code comments for more details. (There are two copies of the new code: one in the IDE launcher script, and one in the launcher script for NetBeans Platform applications.) It would be great if multiple Linux people could test NetBeans with the modified launcher scripts, on both Gnome and KDE (and any other desktop environments that exist out there). -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- 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
