summaryrefslogtreecommitdiffstats
path: root/modules/text_server_adv/text_server_adv.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2020-10-22 19:40:18 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-12-13 18:43:39 +0200
commitc1d261fdb09db3aae4c7fa6587812a697f2ea8cd (patch)
tree20f75fac2110d3466e759d51518b5202506490ff /modules/text_server_adv/text_server_adv.h
parentbbf7bb383810f397760961cb1666860f9b0791b8 (diff)
downloadredot-engine-c1d261fdb09db3aae4c7fa6587812a697f2ea8cd.tar.gz
[Complex Text Layouts] Add variable fonts support.
Diffstat (limited to 'modules/text_server_adv/text_server_adv.h')
-rw-r--r--modules/text_server_adv/text_server_adv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/text_server_adv/text_server_adv.h b/modules/text_server_adv/text_server_adv.h
index f26b87f67e..8c26554158 100644
--- a/modules/text_server_adv/text_server_adv.h
+++ b/modules/text_server_adv/text_server_adv.h
@@ -138,6 +138,10 @@ public:
virtual bool font_get_antialiased(RID p_font) const override;
virtual Dictionary font_get_feature_list(RID p_font) const override;
+ virtual Dictionary font_get_variation_list(RID p_font) const override;
+
+ virtual void font_set_variation(RID p_font, const String &p_name, double p_value) override;
+ virtual double font_get_variation(RID p_font, const String &p_name) const override;
virtual void font_set_hinting(RID p_font, Hinting p_hinting) override;
virtual Hinting font_get_hinting(RID p_font) const override;