Reputation:
In IntelliJ the Darcula theme fonts look as follows
and in the default light theme they look as follows
I want to use the lighter default theme, but I find the fonts in darcula theme to be more "clear" then the default lighter theme. Can you let me know how to correct this?
PS : I am using a Linux machine
Upvotes: 6
Views: 7266
Reputation: 10904
I had the same question, and finally was able to discover the following:
The issue is not one font smoothing, but of the Default theme and the Darcula theme using different fonts on Linux. On my computer, the Default theme uses DejaVu Sans Mono, 12pt, but the Darcula theme uses Source Code Pro, 14pt.
If you want the Darcula Font, then go to File > Settings > Editor > Colors and Fonts > Font, make a copy of the Default scheme, and then change the font to Source Code Pro, 14pt.
See also the Wikipedia article on Source Code Pro .
Upvotes: 1
Reputation: 18869
This is controlled by Settings -> Editor -> Color & Fonts -> Font
However, I do not see a difference between the fonts for Darcula and the default theme :
Darcula :
vs.
Default:
both seem to use the same Consolas, Size 12 font.
Since this is happening on Linux, from here:
Anti-aliasing of fonts is available with Oracle Java 1.6 on Linux. To do this on a per user basis, add the following line to the user's ~/.bashrc.
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=[setting]'
Two other useful links :
How to fix font anti-aliasing in IntelliJ IDEA when using high DPI?
Intellij IDEA font smoothing in linux
Upvotes: 3