Font too thin on 4K monitor

Answered

I'm using IntelliJ IDEA 2017.2 CE on Windows 10 at 3840x2160 resolution, with Windows scaling set to 175%. Everything looks fine ()including Eclipse) but IntelliJ's editor looks horrible! The font is way too thin and changing the font or theme doesn't make it any more readable. I presume this is an issue with high DPI displays? What is the solution? I tried changing the anti-aliasing and it did nothing. Thanks.

0
5 comments
Avatar
Permanently deleted user

I tried with the following options and it's made absolutely zero difference:

-Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true
-Dsun.java2d.xrender=true
-Dsun.java2d.uiScale.enabled=false
0
Avatar
Permanently deleted user

Partial fix is to change font from Courier New to Consolas, but the text looks nowhere near as crisp or readable as in Eclipse.

0
Avatar
Permanently deleted user

Sorry, it appears it's not a bug but "bad defaults". After tweaking the font size, font style (changing it to the standard Consolas for editor) and anti-aliasing to Greyscale, the editor text is now more readable. I think the change to a very thin font from IDEA 2016 in 2017 made me think it's an issue with the rendering of the editor.

0

Please sign in to leave a comment.