Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Font face in sublime text 3 using Elementary OS

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?

like image 978
Mike_Device Avatar asked Nov 30 '14 15:11

Mike_Device


People also ask

What font is used in Sublime Text 3?

Monokai is the default font on Sublime Text and was everywhere back in 2011, when it seemed like the whole world moved to Sublime.

How do I add fonts to Sublime Text 3?

Open the Sublime Text settings file: Mac OS X: Sublime Text 3 > Preferences > Settings - User. Windows: Preferences > Settings - User. Linux: Preferences > Settings - User.

How do I change the font size in Sublime Text?

If you want to change the font size then simply follow. Preferences-> Default File preferences. After find Font properties like font Courier New 12 we (recommend to use CTRL+F) then change size of it. Click save and instantly you can see the changes.


1 Answers

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.

like image 189
LanceLafontaine Avatar answered Sep 20 '22 23:09

LanceLafontaine