From 545350369774ffb56d207f22102c0b9c58035192 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Thu, 24 Aug 2023 11:56:50 +0300 Subject: [Text Server] Store extra spacing of individual font variations. --- servers/text_server.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'servers/text_server.cpp') diff --git a/servers/text_server.cpp b/servers/text_server.cpp index 28c6b20f7b..3c901f573e 100644 --- a/servers/text_server.cpp +++ b/servers/text_server.cpp @@ -263,6 +263,9 @@ void TextServer::_bind_methods() { ClassDB::bind_method(D_METHOD("font_set_embolden", "font_rid", "strength"), &TextServer::font_set_embolden); ClassDB::bind_method(D_METHOD("font_get_embolden", "font_rid"), &TextServer::font_get_embolden); + ClassDB::bind_method(D_METHOD("font_set_spacing", "font_rid", "spacing", "value"), &TextServer::font_set_spacing); + ClassDB::bind_method(D_METHOD("font_get_spacing", "font_rid", "spacing"), &TextServer::font_get_spacing); + ClassDB::bind_method(D_METHOD("font_set_transform", "font_rid", "transform"), &TextServer::font_set_transform); ClassDB::bind_method(D_METHOD("font_get_transform", "font_rid"), &TextServer::font_get_transform); -- cgit v1.2.3