I try to change font for IntelliJ IDE with another monospaced font like Inconsolota.
I put Inconsolata.ttf (I use Windows) on the directory :
C:\Program Files\Java\jdk1.7.0_01\jre\lib\fonts
Why doesn't IntelliJ make it available ? Is it the wrong path ?
(I precise that I well checked that IntelliJ uses this JDK and not another one)
To use a different font in the console: Press Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme | Console Font. Select the Use console font instead of the default checkbox.
JetBrains Mono font is used by default for the Editor.
If you need to quickly change the font size while in the editor, press Ctrl+Alt+S to open the IDE settings, go to Editor | General, and select Change font size with Command+Mouse Wheel or Change font size with Control+Mouse depending on your operating system.
JetBrains, known best for Kotlin, and IntelliJ-based IDEs, introduced a new creation. This time, they are dipping their toes into typography design. JetBrains Mono is an open-source, monospaced font specifically designed for developers.
Additionally to copying fonts in ..\jre\lib\fonts
You need to change a java anti-aliasing setting.
1) Add the option:
-Dawt.useSystemAAFontSettings=on
<<jetbrains-product-dir>>/bin/idea.vmoptions
There might be additional settings required for Linux and OpenJDK. Check the referenced links.
...\JetBrains\<<product-dir>>\bin\<<productname>>.exe.vmoptions
2) You then need to restart the IDE.
3) When you are selecting a font (Settings>Appearance>Font
) you
should uncheck "Show only monospaced fonts" in the little popup
window that appears.
4) You'll be now able to see and choose Inconsolata or any other previously hidden font. Set the font size and line-height according your preference.
You can actually browse for your font.
Ctrl + Alt + S
Under the Editor node, click Colors&Fonts.
Select the scheme you want.
Go to Scheme Settings, Font and click the browse button to select a new font family.
If this is what you already did, and you couldn't find the font, even when you browsed for it, then you can install your font by running the setup.exe file that usually comes with it and try again.
Source: http://www.jetbrains.com/idea/webhelp/editor-colors-and-fonts.html#scheme
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