Font face in sublime text 3 using Elementary OS

Mike_Device picture Mike_Device · Nov 30, 2014 · Viewed 14.7k times · Source

I have a problem. Earlier I used Ubuntu, but now I've installed an Elementary OS to my notebook and then installed a sublime text 3. But I don't like a font_face in new OS. It is not so good, like it was in Ubuntu, e.g. Zero sign is not striped. And also keywords is not italic like. Can you help me to fix it?

Answer

LanceLafontaine picture LanceLafontaine · Nov 30, 2014

Open Preferences > Settings - User and add the following:

"font_face": "Ubuntu Mono", "font_size": 10, "font_options": [],

If this doesn't work, try changing the font. There are plenty of choices at Google Fonts. You just need to add the desired fonts to your collection, click the download icon in the top right, and install the .ttf's on your system, which should be as easy as opening the files and clicking on install.

Monospace is the default font in most Linux systems, but you can change it to whatever you like. However, I personally prefer the "Ubuntu Mono" font that is installed by default.

the font_option array should be blank. Sublime Text lets you add options like "no_bold", "no_italic", "no_antialias", etc...

Lastly, make sure you are editing the Settings - User page and not the Settings - Default page.