Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use a custom font in SublimeText

I know a user can change the font_face in preferences with:

"font_face": "gohufont-11",
"font_size": 11,

But, every-time I try to add a (already installed) non-system font, like Gohufont above, it does not work.

like image 855
JChris Avatar asked Jan 05 '14 21:01

JChris


1 Answers

  1. Install the TTF version of the font despite the platform-specific fonts available from here.
  2. Install the font, installation is OS specific process (in your case use Install font menu entry from windows fonts folder).
  3. Copy paste "font_face": "GohuFont", to your user preferences file.

Tested it on MacOS and it works with your font, did the same with other fonts on Win 7/8.1.

like image 168
Sergey Telshevsky Avatar answered Sep 28 '22 02:09

Sergey Telshevsky