timboudreau opened a new pull request #1415: Post-install appearance of NetBeans on Linux with high dpi display is awful URL: https://github.com/apache/netbeans/pull/1415 After downloading and installing NetBeans 11.1 on Gentoo Linux on an HP Spectre laptop with a 1920x1080 display, I get an IDE using unusably small fonts with bad antialiasing: https://timboudreau.com/files/screen/08-05-2019_07-03-04.png Adding just `--fontsize 16` and `-J-Dawt.useSystemAAFontSettings=lcd` makes it usable: https://timboudreau.com/files/screen/08-05-2019_07-30-32.png This is a serious problem in that the only way to change the font size globally is in a configuration file that needs to be manually edited - new users are unlikely to even find the documentation of how to set it. Much more likely they simply decide NetBeans is junk and use a different IDE. This pull request addresses font size on non-Mac and non-Windows operating systems by using the graphics device's DPI and current resolution to find a font size which best matches a target number of characters per physical device inch. Running with `--fontsize` bypasses this code. Additionally, it adds the LCD antialiasing line switch above as the default (it's 2019 - you can't even give CRT monitors away - assuming an LCD monitor is a safe assumption and at worst will not look nearly as bad as the current defaults on a CRT monitor). For completeness, here the IDE running on a new userdir with o.n.swing.plaf from this pull request: https://timboudreau.com/files/screen/08-08-2019_13-22-28.png
---------------------------------------------------------------- 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
