How to use a custom font in SublimeText

后端 未结 2 1460
梦如初夏
梦如初夏 2021-01-18 11:45

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

相关标签:
2条回答
  • 2021-01-18 12:18
    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.

    0 讨论(0)
  • 2021-01-18 12:21

    Use the font name as the value of font_face. If the font name is GohuFont, use that.

    0 讨论(0)
提交回复
热议问题