Linux/Java font rendering - wrong size, too small

Answered

Fonts (editor fonts) in Intellij 13, 14 (also in Netbeans 8.1, 8.0.2), are rendered smaller then expected.
The same fonts with the same sizes in non-Java-based editors (eg. Geany, mousepad) and in the system looks right.
I have been looking for a solution - with no success. I think it may be realated to wrong DPI that java font renderer uses - still couldn't find a way to fix this. I also think it's not related hidpi stuff, since I'm ok with overall IDE sizes - the editor font it's just wrong.

Increasing the size in order to compensate the difference leads to unnaturally looking font.

Some examples:

Inconsolata 14 font in Idea::
In14Idea.png
Inconsolata 14 (expected) in other editors (Geany):

In14Geany.png
Similar situation with other fonts.

System: Ubuntu 14.04, Oracle JDK 1.8.0_45

Do you guys know to solve this..?

4 comments
Comment actions Permalink

Thanks, that issue was mainly about AA and subpixel smoothing and I came across those solutions earlier.

My main problem wrong font size.

0
Comment actions Permalink

Adjust the font size in Settings | Editor | Font | Size or Settings | Appearance & Behavior | Appearance | Size.

1

Please sign in to leave a comment.