summaryrefslogtreecommitdiff
path: root/servers/text_server.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-06-13 11:13:05 +0200
committerGitHub <noreply@github.com>2022-06-13 11:13:05 +0200
commit136f84fc3549fa22b700d80f86216c484174ffb6 (patch)
treec162d7045779cd4d03a50607e8a24cc265dcda75 /servers/text_server.cpp
parente95f4eb5a7d9bf644cb0aea218683d522297ae83 (diff)
parent6e4cdad3ac5b0eac89a381575ec297912c330bec (diff)
Merge pull request #61772 from bruvzg/ft_ot_collect
Diffstat (limited to 'servers/text_server.cpp')
-rw-r--r--servers/text_server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/servers/text_server.cpp b/servers/text_server.cpp
index 20e62037e6..41d9c74d82 100644
--- a/servers/text_server.cpp
+++ b/servers/text_server.cpp
@@ -208,6 +208,11 @@ void TextServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("font_set_data", "font_rid", "data"), &TextServer::font_set_data);
+ ClassDB::bind_method(D_METHOD("font_set_face_index", "font_rid", "face_index"), &TextServer::font_set_face_index);
+ ClassDB::bind_method(D_METHOD("font_get_face_index", "font_rid"), &TextServer::font_get_face_index);
+
+ ClassDB::bind_method(D_METHOD("font_get_face_count", "font_rid"), &TextServer::font_get_face_count);
+
ClassDB::bind_method(D_METHOD("font_set_style", "font_rid", "style"), &TextServer::font_set_style);
ClassDB::bind_method(D_METHOD("font_get_style", "font_rid"), &TextServer::font_get_style);