Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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)

share|improve this question

2 Answers 2

Disable Show only monospaced fonts to see the full list:

enter image description here

share|improve this answer
    
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? –  Himanshu Pokhariya Apr 22 '13 at 16:41
    
@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 Apr 22 '13 at 16:44
    
Downloaded and installed. Restarted. Doesn't work still. If anyone can this working on a Mac, do report back. –  Himanshu Pokhariya Apr 22 '13 at 17:22
    
@HimanshuPokhariya: I'd recommend posting this in the PhpStorm issue tracker. –  Oliver Salzburg Apr 22 '13 at 18:04
    
Yeah I was going to. Will give it a day before I do that to see if there is a workaround of any sort. –  Himanshu Pokhariya Apr 22 '13 at 19:07

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.