-
-
Save chrissimpkins/69660d5ebc1a4f2a2793 to your computer and use it in GitHub Desktop.
{ | |
"font_face": "Hack", | |
"font_size": 10 | |
} |
Amit,
Make sure that you are opening the User settings and not the Default settings panel. You will see the settings in JSON format. You may or may not already have some settings in there. This depends upon what plugins you have installed to date. The font_face
and font_size
settings should be added to the file, one setting per line with a comma following the definition. Save the file in the default location where ST opened it and your font should change. Note that if you were previously using Bitstream Vera Sans Mono or DejaVu Sans Mono, it may not be immediately apparent because Hack is derived from those faces.
Here are the docs on ST settings:
http://docs.sublimetext.info/en/latest/customization/settings.html
There are other settings (including subpixel_antialiasing, grey_antialiasing). Not sure if those are supported on Linux or not. This would be a good question for the ST forums.
Hope it helps!
I updated the Preferences.sublime-settings
file with "font_face": "Hack"
. Restarted Sublime. Don't notice any difference in font. Have Sublime text 3 on a Mac OS El Capitan.
Using Hack in the recently released Sublime Text 3 Build 3143 on OS X 10.11.6 "El Capitan" results in inconsistent character widths. In my specific case I noticed the capital "F" is slightly narrower than a regular space character. Anybody else noticed this?
Edit:
Well, I updated Hack to the latest version v2.020 and in the process replaced the previously installed OTF variant of Hack with the TTF variant. I don't know if it's the new version or the TTF variant, but the widths are now consistent again, just like you'd expect from a monospaced font ;-) Leaving this out here for documentation.
@bassbird Same issue here
Indent guides are not well aligned when using Hack :
It works well with native font :
Udpating Hack to v2.020 did not fix the problem.
Ok, I found how to make it works cleaning font cache :
- Close Sublime Text
- Remove Hack from FontBook
- Clear font cache
sudo atsutil databases -remove
- Download the latest version of Hack
- Install it with FontBook
- Launch Sublime Text
FYI-- clearing your font cache may necessitate rebooting, in order to rebuild the cache.
I'm having problem changing fonts.
OS: Linux Mint 17.2
Sublime Text: 3