diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-13 20:05:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-13 20:05:27 +0100 |
commit | 06314c1b0e8100546a53cf2786fa244c5d19af6f (patch) | |
tree | 20f75fac2110d3466e759d51518b5202506490ff /editor/editor_settings.cpp | |
parent | bbf7bb383810f397760961cb1666860f9b0791b8 (diff) | |
parent | c1d261fdb09db3aae4c7fa6587812a697f2ea8cd (diff) |
Merge pull request #43030 from bruvzg/ctl_var_font
[Complex Text Layouts] Add variable fonts support.
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r-- | editor/editor_settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 44df3926fc..0840707886 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -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); |