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
Open Settings. Tap Display. Tap Font and screen zoom. Select your choice of Font Style and you're done.
Monokai is the default font on Sublime Text and was everywhere back in 2011, when it seemed like the whole world moved to Sublime.
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.
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
}
try changing font size (to 15 for instance) using this:
"font_size": 15
updated my font in my case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With