I had ugly font rendering in Netbeans 8.1 under ArchLinux. I waited a lot, because I was thinking about a trouble due to something wrong in the release. But It was not.
Well, I had not alternatives but fix the bug: Netbeans is necessary, beacuse I’m working on a Netbeans Java project (I will write about Java building system in a future post); ArchLinux is more than necessary…which other operating system sould I use??? :D:D:D
Anyway, to fix this small issue, you should just run NetBeans enabling these options
-J enables the options to pass to the JVM.
art.useSystemAAFontSettings are the two options which enable the antialiasing of the text.
A very lazy solution might be to create an alias in
.bash_aliases. However, you should call NetBeans from command line, in order to apply the JVM options.
An easier way to fix the issue, might be the implementation of the previous options as default JVM options from within the executable script. Just modify
/usr/bin/netbeans as follow
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.