summaryrefslogtreecommitdiffstats
path: root/servers/text/text_server_extension.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/text/text_server_extension.h')
-rw-r--r--servers/text/text_server_extension.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/text/text_server_extension.h b/servers/text/text_server_extension.h
index 5d11af0bf1..402f0ec7ac 100644
--- a/servers/text/text_server_extension.h
+++ b/servers/text/text_server_extension.h
@@ -294,6 +294,9 @@ public:
virtual int64_t font_get_glyph_index(const RID &p_font_rid, int64_t p_size, int64_t p_char, int64_t p_variation_selector = 0) const override;
GDVIRTUAL4RC(int64_t, _font_get_glyph_index, RID, int64_t, int64_t, int64_t);
+ virtual int64_t font_get_char_from_glyph_index(const RID &p_font_rid, int64_t p_size, int64_t p_glyph_index) const override;
+ GDVIRTUAL3RC(int64_t, _font_get_char_from_glyph_index, RID, int64_t, int64_t);
+
virtual bool font_has_char(const RID &p_font_rid, int64_t p_char) const override;
virtual String font_get_supported_chars(const RID &p_font_rid) const override;
GDVIRTUAL2RC(bool, _font_has_char, RID, int64_t);