Description of problem:
If I run intellij idea or many swing applications, the default font settings don't work well and as a result intellij developers have been recommending against openjdk. The following setting makes it much much better. can we make sure the defaults work well?
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
system font settings can be set to lcd as well. this is a common enough problem that i see such documentation in quite a number of places
Jiri, what are the implications of setting AA to always true, do you know?
The correct fix on linux would be to pick up fontconfig settings, not hardcode new ones, since openjdk will end up rendrering fonts with the same font libs anyway
The current broken state is not a poor default choice but lack of system integration (java's bane due to SUN's irrealistic long-term objective of marginalising the software layers it didn't control)
Except performance and Nicolas' hint probably none. Although I would rather avoid the -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel as default.
I will try to run some benchamrks.