I used to use infinality for good-looking fonts, but it hasn't been updated for ages, and it's now broken. I've since reverted to vanilla freetype and vanilla fonts. I followed instructions to get fonts looking reasonable, specifically, creating /etc/fonts/local.conf as per here. I also appended the following line to /etc/profile.d/jre.shexport _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'Some of my java apps are fine, but some (e.g. Jabref) look terrible. It looks like the subpixel rendering if totally off. (Previously, with infinality, they looked excellent.)As per the Arch wiki, I tried a few different options, such as setting -Dawt.useSystemAAFontSettings to lcd, gasp and off. However, none of these helped. I also tried using different version of java (java-7-openjdk, java-8-jre/jre and java-8-openjdk), but this didn't help either.Finally, I tried to install jre{7,8}-openjdk-infinality, but they appear to require infinality support in FreeType, which is obviously now missing. Can I fix this poor rendering in Jabref?(Originally asked here, with no response.)
How can I get correct sub-pixel rendering in Java applications?
arch linux;java;fonts
Ends up that it was just a bug in the Jabref launcher, and my selected java wasn't being used.