Webstorm/PhpStorm: Select specific font from a Font Family

11,190

Solution 1

I looked into solving this exact issue myself, on a mac at least. You basically have to drop these font files into your java environment direcotry's font folder. PHPStorm being a java app utilizes fonts form these directories slightly different than the ones in your system fonts folder.

You should see the various options font weight options for source code pro once you have done this.

Blog post with more details & instructions, if you're interested: http://sticksnglue.com/wordpress/?p=112

enter image description here

Solution 2

Disable Show only monospaced fonts to see the full list:

enter image description here

Share:
11,190

Related videos on Youtube

Himanshu P
Author by

Himanshu P

Updated on September 18, 2022

Comments

  • Himanshu P
    Himanshu P over 1 year

    WebStorm/PhpStorm: How do I choose a specific font from a font family? (for the editor).

    Specifically, I have downloaded the Source Code Pro font. It comes with these typefaces: Extra Light, Light, Regular, Semibold, Bold. Now, I want to choose Extra Light/Light.

    But, when trying to select a font, Webstorm only shows me one font for the entire family.

    How do I make it use a specific one?

    If it makes a difference, I am currently using Mac OS X Mountain Lion (but I'd be interested in finding the answer to this for Windows as well)

  • Himanshu P
    Himanshu P about 11 years
    I'd already tried that (and I checked again to confirm) but this doesn't seem to help. Isn't Source Code Pro a monospaced font in any case? Can you tell me how installed the fonts, and what OS are you using?
  • Oliver Salzburg
    Oliver Salzburg about 11 years
    @HimanshuPokhariya: I was kind of surprised as well. I would have assumed it is a monospaced font, but it didn't show up unless I unchecked the box. I downloaded the font package from SourceForge and installed the fonts through the context menu option "Install". This is on Windows 7.
  • Oliver Salzburg
    Oliver Salzburg about 11 years
    @HimanshuPokhariya: I'd recommend posting this in the PhpStorm issue tracker.
  • Himanshu P
    Himanshu P about 11 years
    Yeah I was going to. Will give it a day before I do that to see if there is a workaround of any sort.