Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing font in Sublime Text 3

I want to change the font in Sublime Text 3 to Roboto Mono, so I downloaded the file and installed it on my computer (macOS). Then I go and open Sublime Text 3, go to "Settings --> Preferences", getting to the split screen where I put into the right side this:

"font_face": "Roboto Mono",
"font_size": 10, 

Now this is supposed to work but it doesn't.

Can someone advise please?


Update: The error I'm getting is:

Unable to save ~/Library/Application Support/Sublime Text 3/Packages/User/Preferences.sublime-settings
Error: No such file or directory
like image 825
a56z Avatar asked Sep 20 '19 00:09

a56z


People also ask

How do I change the style of my font?

Open Settings. Tap Display. Tap Font and screen zoom. Select your choice of Font Style and you're done.

What is the default font 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 you change the font of text in HTML?

To change font type purely with HTML, use the CSS font-family property. Set it to the value you want and place it inside a style attribute. Then add this style attribute to an HTML element, like a paragraph, heading, button, or span tag.


2 Answers

Follow this support article from Apple for installing fonts and check if you have installed it properly.

If you did, check the name of installed fonts.

Then, go to Settings -> Preferences and on the right hand side(User settings) place:

{
    "font_face": "Roboto Mono",
    "font_size": 10
}
like image 136
Dinko Pehar Avatar answered Oct 03 '22 09:10

Dinko Pehar


try changing font size (to 15 for instance) using this:

"font_size": 15

updated my font in my case.

like image 36
outlandish Avatar answered Oct 03 '22 09:10

outlandish