Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to display a specific font_face for each individual syntax language setting in Sublime Text 2? For example:

"php" : { "font_face" : "Droid Sans Mono" },
"c#" : { "font_face" : "Courier New" },
"javascript" : { "font_face" : "monospace" } 

Couldn't find much about the font_face setting in ST2 other than how to change it globally. My job requires me to jump around a lot of different language files and think this would make them easier to distinguish on the fly. I like my color scheme and want to keep that the way it is, but unfortunately it doesn't quite differ enough for me to be able to pick out the languages quickly.

share|improve this question
up vote 1 down vote accepted

Yes, that is possible. Open a filetype for which you want to change the font. Then in the menu select Preferences > Settings-More > Syntax Specific - User.

In that file (which will be created if it not already exists), enter you specific font-needs. For instance:

  "font_face": "Broadway",
  "font_size": 12
share|improve this answer
Works perfect! Thank you! – voodooGQ Aug 24 '12 at 14:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .