13

Is there a way to force IntelliJ to use a specific font variant, e.g. Source Code Pro Light? As far as I know, IntelliJ always assume the regular variant, and doesn't allow one to specify what to be used as bold and italic.


I have probably not been clear. There is a way to select a fixed variant (bold and italic), but IntelliJ decides what that variant should be. As an example, consider the fact I want to configure IntelliJ to use the following fonts:

  • Normal Text -> Source Code Pro Light (and not Regular)
  • Bold -> Source Code Pro Regular (and not Bold)
  • Italic -> Source Code Pro Powerline Italic (not the same font)
Hugo Sereno Ferreira
  • 8,600
  • 7
  • 46
  • 92
  • Maybe create your own variant of font like in this link http://stackoverflow.com/questions/17508/how-to-modify-the-style-property-of-a-font-on-windows – rofrol Jan 21 '16 at 15:03
  • Leaving a comment since this is actually the exact same scenario (and font) I want to use! Lets hope it gets added to intellj (and the rest of the platform) sometime in the next 10 years. – Andrew Jun 05 '17 at 06:28
  • If Mac, remove other font variants in the Font Book app. I left only light, restarted IDEA. Working. – Leszek Gruchała May 07 '18 at 14:37
  • I am just here to say I have the exact same problem. Every proposed solution is a hack, so far, unfortunately :/ – Yanick Nedderhoff Apr 08 '21 at 13:03

2 Answers2

2

If you are on Mac, you can remove (or disable) other font variants in the Font Book app. I left only Fira Code Light, restarted IDEA and got it working. A not ideal solution, but at least the fonts are now thin together with subpixel antialiasing. I have found related issues on IDEA's youtrack:

Please vote :)

Leszek Gruchała
  • 2,300
  • 1
  • 21
  • 18
-2

Go to

settings ->IDE Settings ->Editor -> Color and Fonts ->Then you will find Schema Name just click save as type a name(Doing this will not change your default schema settings) -> Then start manipulating the sub-menu of Color and Fonts

SparkOn
  • 8,806
  • 4
  • 29
  • 34