mirror of
https://github.com/tiennm99/godot.git
synced 2026-07-20 10:18:57 +00:00
[Complex Text Layouts] Add variable fonts support.
This commit is contained in:
@@ -336,6 +336,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
||||
_initial_set("interface/editor/code_font_contextual_ligatures", 0);
|
||||
hints["interface/editor/code_font_contextual_ligatures"] = PropertyInfo(Variant::INT, "interface/editor/code_font_contextual_ligatures", PROPERTY_HINT_ENUM, "Default,Disable contextual alternates (coding ligatures),Use custom OpenType feature set", PROPERTY_USAGE_DEFAULT);
|
||||
_initial_set("interface/editor/code_font_custom_opentype_features", "");
|
||||
_initial_set("interface/editor/code_font_custom_variations", "");
|
||||
_initial_set("interface/editor/font_antialiased", true);
|
||||
_initial_set("interface/editor/font_hinting", 0);
|
||||
hints["interface/editor/font_hinting"] = PropertyInfo(Variant::INT, "interface/editor/font_hinting", PROPERTY_HINT_ENUM, "Auto,None,Light,Normal", PROPERTY_USAGE_DEFAULT);
|
||||
|
||||
Reference in New Issue
Block a user