And how do I get intelliJ rendering of the ubuntu font, on par??
I have eclipse perfectly using the Ubuntu font resulting in crisp, clear and properly kerned rendering, whereas intelliJ IDEA miserably renders the same named font on the same desktop.
The problem is mostly with the kerning, in the intelliJ redner the kerning is so terrible that ") are oddly squashed together:

I have looked at similar questions like this one which seem to be outdated or incorrect. Also the best answer in https://askubuntu.com/questions/454361/font-in-intellij-idea-on-ubuntu-14-04 says "don't use in Ubuntu 14", which happens to be my OS.
Although DejaVu Sans kerns slightly less badly in intelliJ, it seems kerning has been really left broken for a long long while...
What might be the solution for intelliJ?
Eclipse is based on SWT toolkit which is a java wrapper around native UI components, in your case GTK. IntelliJ is based on Swing and AWT thus rendering is based on whatever JDK implements itself. There are differences between OpenJDK and Oracle JDK and JDK prepared by JetBrains.
See this discussion for IntelliJ. In general, you might
Yes. That is a problem for me too. I can't fix it, but found tolerant variant for me:
Font: Anonymous Pro Bold 19pt.(Windows OS, but looks same as in Ubuntu) 
It looks still ugly, but better than stock fonts
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With