sublime_text
sublime_text copied to clipboard
Multiple Font face
Description
Sublime text is not allowing multiple type font faces. As we all know, There is no single font face that supports all languages in the world. If we are working with non-latin text, we need at least two font faces. latin for all the commands different font face for say Kannada.
Steps to reproduce
In the settings, please add two font face
"font_face": "Source Code Pro, Noto Sans Kannada"
or
"font_face": "'Source Code Pro', 'Noto Sans Kannada'"
or
"font_face": "Source Code Pro", "Noto Sans Kannada"
Both will fail
Expected behavior
ability to add multiple font faces. Sublime text should pick up the font face in the order of input. If there Latin text, it should look if latin in support in the first font, if not try second, .... then finally fall back to system default font. Same thing should be done for other language, in this example Kannada. If not Kannada is not supported in "Source Code Pro", then it should "Noto Sans Kannada", before fall backing to system default.
A description of what you expected to happen.
Actual behavior
Sublime text allows only one font face.
Environment
- Build: 3207
- Operating system and version: mac os 10.14.6 (18G95)
Is your OS Windows 10? The 10.14.6 (18G95)
is a bit undescriptive.
related, albeit specifically mentioning Windows: https://github.com/SublimeTextIssues/Core/issues/2795, https://github.com/SublimeTextIssues/Core/issues/2307
@salty-biscuits Its mac os 10.14.6 (18G95)
@MayuraVerma in your steps to reproduce the third option is invalid json, you probably meant:
// Packages/User/Preferences.sublime-settings
{
"font_face":
[
"Source Code Pro",
"Noto Sans Kannada"
]
}
@wbond May you please look into this request?
@BenjaminSchaaf
Please stop randomly pinging users.
Would this be implemented in near future?
I would like to go a step further, and propose multiple font support to be implemented based on code point range: Use one font by default, up to and including, let's say, Latin Extended-B (U+0000 - U+024F
) and another font for e.g. Greek and Coptic (U+0370 - U+03FF
) etc.
Unfortunately one font size does not fit all, i.e. does not always support all the required glyphs. Creating a custom font that does is a) a real PITA and b) very often not allowed due to licensing issues.
Is your OS Windows 10? The
10.14.6 (18G95)
is a bit undescriptive. Environment Build: 3207 Operating system and version: mac os 10.14.6 (18G95)
Multiple fonts based on a color scheme / syntax would be nice as well. Much like italics or bold, being able to change the font_face and font_size for a syntax would be amazing, much like a CSS style setup.
Emacs supports this sort of thing and it has been used for a ton of really beautiful features.
Any changes to this issue?
I've met the same problem. Is there a solution? And why is the issue closed?
The issue is still open.
Looking forward to any progress on this feature
Would be great to support font per syntax highlight type.
Looking forward to any progress on this feature.
Looking forward to any progress on this feature.