Sublime Forum

Font_face can not set 2 or more in 3126+

#1

In 3126- version, I can set font_face like “Courier, Noto Sans, …”, bug it doesn’t work now.

0 Likes

#2

Is anybody help?

0 Likes

#3

Hi,

Is the issue that you cannot edit the font_face variable within the settings?

0 Likes

#4

0 Likes

#5

Looks like you are on Windows and want to use GDI’s font fallback functionality? Try setting "font_options": ["gdi"], in your user preferences

0 Likes

#6

Sorry, my mistake.
My OS is : Linuxmint 18.2 x64 (base on ubuntu 16.04)

0 Likes

#7

This is likely a side effect of how we check to see if fonts exist. We won’t be able to find a font with the name you specified.

I was not aware that pango allowed you to specify multiple fonts in a space-separated manner.

0 Likes

#8

specify multiple fonts in a “,” not space-separated.
It works well on Build 3126 or below.

"font_face": "Courier New" or "font_face": "Noto Sans S Chinese" works.
But the rendered glyphs don’t have a consistent baseline if only one font was set.

0 Likes

#9

Yes, we made significant changes to the font selection engine in the dev cycle leading up to the 3.0 release. It does not surprise me that the functionality is different in 3126.

0 Likes

#10

Is any plan to support multi fonts?

0 Likes