Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable bold fonts in sublime text2 in linux?

Tags:

sublimetext2

I need to enable bold fonts in sublime text 2. I tried font_options but it didn't worked for me.

like image 267
hbdev012 Avatar asked Apr 09 '12 08:04

hbdev012


2 Answers

Add the following to your Preferences.sublime-settings file:

{
    // Valid options are "no_bold", "no_italic", "no_antialias", "gray_antialias",
    // "subpixel_antialias" and "no_round" (OS X only)
    "font_options": ["bold"]
}
like image 167
matpie Avatar answered Oct 14 '22 22:10

matpie


Some fonts don't have true bold variations. (Here's a post on the Sublime Text forum explaining it.) Try using "DejaVu Sans Mono" or "Courier New", these will work in any case.

like image 38
ptomato Avatar answered Oct 14 '22 20:10

ptomato