Font rendering in PyCharm on my Fedora 21 with KDE is very bad. I use (default?) DejaVu Sans Mono but all others available in the dropdown in settings (DialogInput, FreeMono, Liberation Mono, Monospaced, Nimbus Mono L, Source Code Pro) do not look any better.
I've been googling for an answer how to fix font rendering in Java applications using Swing for GUI (which PyCharm does) but could not find anything that helps. For example putting '-Dawt.useSystemAAFontSettings=lcd' in 'pycharm64.vmoptions' didn't help.
From what I've read Swing as opposed to SWT (which Eclipse uses) renders fonts itself and does not use system's native font rendering. Font rendering is a rather complicated matter (http://www.infinality.net/forum/viewtopic.php?f=2&t=80#p395
) and I didn't manage to find my way through this. The additional trouble is that there's Oracle JDK and OpenJDK and each has its own quirks. I (naturally:)) prefer OpenJDK and that's what I use.
I have to note that after I installed Fedora/KDE, font rendering was ugly but after setting Xft.lcdfilter to 'lcddefault' in ~/.Xresources (see http://blog.andreas-haerter.com/2011/07/18/tune-improve-fedora-fonts-typeface-ubuntu-like-sharp-fonts
) it's much better. However as Swing does not use system's native font rendering as said above this should not matter.
Considering how much bad font rendering puts user off I guess there must be some guide how to fix this in JetBrains' products. Is there any?