NickLion opened a new issue, #4228: URL: https://github.com/apache/netbeans/issues/4228
### Apache NetBeans version Apache NetBeans latest daily build ### What happened NetBeans 14 run in KDE Plasma has grayscale antialiasing, though it's subpixel system-wide. NB: I've chosen latest build, though I'm using official 14 version, but there is no such option in selector. ### How to reproduce 1. Enter KDE Plasma session. 2. Enable subpixel antialiasing. 3. Start NetBeans. 4. Check text antialias — it's graysacle. ### Did this work correctly in an earlier version? Apache NetBeans 13 ### Operating System Linux — openSUSE Tumbleweed x86_64, KDE Plasma ### JDK OpenJDK 18.0.1 ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else It seems this behaviour was introduced with 921e5c3df8e0137cb5f22c122b0435e289693007, where for KDE session is set `-J-Dawt.useSystemAAFontSettings=on` And `on` means — grayscale antialiasing. Commenting out this line or replacing it with `-J-Dawt.useSystemAAFontSettings=lcd` fixes it for me, but `lcd` won't work for those who prefer grayscale. What was the reason of introducing that change for antialiasing? NetBeans under KDE Plasma respected system text antialiasing before. Were there some problems for other people? If this change is really necessary it's better to check for antialiasing mode, at least `Xft.rgba`. ### Are you willing to submit a pull request? Yes ### Code of Conduct Yes -- 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
