diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-07-22 10:12:00 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-07-23 20:34:39 +0300 |
commit | 32bc1c2f3334d4de83a26f86eb0855dff725a1b9 (patch) | |
tree | 418cf29f51d31a9143066e255892c22a85f335e8 /servers/text_server.cpp | |
parent | 8e36f98ea5b5ab4c1fb5249f94b61a7bbfb379a1 (diff) | |
download | redot-engine-32bc1c2f3334d4de83a26f86eb0855dff725a1b9.tar.gz |
[Font Import] Detect pixel fonts and disable subpixel positioning.
Diffstat (limited to 'servers/text_server.cpp')
-rw-r--r-- | servers/text_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/text_server.cpp b/servers/text_server.cpp index e7a1511064..b17d3d4096 100644 --- a/servers/text_server.cpp +++ b/servers/text_server.cpp @@ -352,6 +352,7 @@ void TextServer::_bind_methods() { ClassDB::bind_method(D_METHOD("font_has_char", "font_rid", "char"), &TextServer::font_has_char); ClassDB::bind_method(D_METHOD("font_get_supported_chars", "font_rid"), &TextServer::font_get_supported_chars); + ClassDB::bind_method(D_METHOD("font_get_supported_glyphs", "font_rid"), &TextServer::font_get_supported_glyphs); ClassDB::bind_method(D_METHOD("font_render_range", "font_rid", "size", "start", "end"), &TextServer::font_render_range); ClassDB::bind_method(D_METHOD("font_render_glyph", "font_rid", "size", "index"), &TextServer::font_render_glyph); |