Sublime Forum

Setting font_face only works in Syntax Specific preferences

#1

I put this in my Preferences.sublime-settings:

"font_face": "InputMono"

but it doesn’t work. I have other settings in there that do work, though. And it doesn’t matter what I set font_face to - InputMono, Arial, etc. Nothing works!

However, if I put this in, for example, JSON.sublime-settings, though (through Preferences > Settings – Syntax Specific):

{
	"font_face": "InputMono"
}

It works!

But… why doesn’t it work in my normal settings?? WTF? I don’t want to set my font manually for each syntax… that’s completely wasteful and tedious.

Here is my entire user folder, this is a fresh install of Sublime:

Windows 10 x64, sublime text build 3211

0 Likes

#2

Dumb question: is there already a font_face defined in your Preferences.sublime-settings?

1 Like

#3

No

{
	"font_face": "InputMono", // this is the line I need adding/removing that has no effect
	"always_prompt_for_file_reload": true,
	"atomic_save": true,
	"caret_style": "blink",
	"default_line_ending": "unix",
	"draw_white_space": "all",
	"font_face": "Input Mono",
	"highlight_line": true,
	"match_brackets_angle": true,
	"shift_tab_unindent": true
}
0 Likes

#4

oh.

Crap.

	"font_face": "Input Mono",

This was the problem.

2 Likes