summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-22 12:23:41 +0100
committerGitHub <noreply@github.com>2021-11-22 12:23:41 +0100
commit70d530029a8bdb1ca9840f2aaa32de04f5d69521 (patch)
treeea4331f9acc4b39c06d7f3823b8edd6545059770 /scene/resources
parent2b287509eb742580d741a45f3aa88e7ad5de98ee (diff)
parent753d677343cc8b2ee6cc63a7525ef4a9dab4ef06 (diff)
Merge pull request #55171 from dalexeev/font-data-set-fixed-size
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/font.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/resources/font.cpp b/scene/resources/font.cpp
index d9de47afc7..6cd42e1456 100644
--- a/scene/resources/font.cpp
+++ b/scene/resources/font.cpp
@@ -88,6 +88,9 @@ void FontData::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_msdf_size", "msdf_size"), &FontData::set_msdf_size);
ClassDB::bind_method(D_METHOD("get_msdf_size"), &FontData::get_msdf_size);
+ ClassDB::bind_method(D_METHOD("set_fixed_size", "fixed_size"), &FontData::set_fixed_size);
+ ClassDB::bind_method(D_METHOD("get_fixed_size"), &FontData::get_fixed_size);
+
ClassDB::bind_method(D_METHOD("set_force_autohinter", "force_autohinter"), &FontData::set_force_autohinter);
ClassDB::bind_method(D_METHOD("is_force_autohinter"), &FontData::is_force_autohinter);