Turning AntiAliasing on for Java Applications in X11
I’ve always been disgusted with how Java Application fonts look under X11. Been using quite a lot of IDEs lately and have found myself always going back to either Mac OS X or even Windows because my eyes could just not bear the uglyness of the fonts for more than 30 seconds. No good looking, crispy fonts? I’m outta there.
Thanks to this post by Hedayat and knowing I can turn on AntiAliasing by putting this into my environment
export _JAVA_OPTIONS=”-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true”
developing in Java IDEs under Linux has become a lot more attractive.
EDIT: If your UI fonts in IntelliJ Idea still suck – switching to the GTK+ Look And Feel under Settings/Appearance/UI Options fixed that for me. Fonts look gorgeous now – and makes the whole application blend in much better with the rest of the system, anyway.