Closed pedroadame closed 8 years ago
At least on Mac OS X it seems as if both the Default scheme and the Darcula scheme specify Menlo as the font:
And yes, unfortunately the color schemes does specify the font - see https://github.com/jkaving/intellij-colors-solarized#note-about-fonts.
@Kinnonii - Could you provide screenshots of what you mean?
@aik099 @jkaving
In Windows & Linux the font used in Darcula theme by default is Source Code Pro
and in the light theme is DejaVu Sans Mono
which is used in the Solarized Dark (Darcula) theme too.
Look at the (big) difference
I actually use the Source Code Pro
font myself.
It might actually be better to specify that in the Solarized color scheme files.
The Solarized color scheme files currently specify the Menlo
font, which I believe is only included by default in OS X. So I guess the fonts you get on Windows and Linux are default fonts that IntelliJ IDEA uses when the specified font is not available.
It is possible that IntelliJ IDEA uses different default fonts for the Darcula Look&Feel and the Default Look&Feel.
@jkaving In fact it's true, it uses differents font by default. Probably is better to set Source Code Pro as the default font as it's shipped by default with the IDE.
Probably is better to set Source Code Pro as the default font as it's shipped by default with the IDE.
Oh, that's cool - I didn't know that. It actually seems to have been included since 2012 (see https://github.com/JetBrains/intellij-community/commit/629a6f2cf719e6dffc78431a4b8f1f2fe4c11ed0).
Then it is definitely better to specify that in the color scheme files. I will change it.
@jkaving Very cool! Thank you :)
Actually, it seems as if it is no longer necessary to include a font in the color scheme file.
This is probably an effect of the switch to the .icls
format (see #51 and #53) and the fact that the color schemes now specify a parent scheme that they inherit settings from.
So an even better solution is probably to remove the font information from the Solarized color schemes. You will then get the default font for your OS. I will need to investigate whether Solarized Dark should specify Darcula as its parent scheme.
FUI, for me in PHPStorm 2016.1, css color icons do not show when using Darcula with Source Code Pro.
Hi! IDEA uses a more legible font in Darcula theme. I think you should use it too!