diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-22 12:23:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 12:23:41 +0100 |
commit | 70d530029a8bdb1ca9840f2aaa32de04f5d69521 (patch) | |
tree | ea4331f9acc4b39c06d7f3823b8edd6545059770 /scene | |
parent | 2b287509eb742580d741a45f3aa88e7ad5de98ee (diff) | |
parent | 753d677343cc8b2ee6cc63a7525ef4a9dab4ef06 (diff) |
Merge pull request #55171 from dalexeev/font-data-set-fixed-size
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/font.cpp | 3 |
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); |