[TextServer] Store font extra spacing variations without making a full copy of font.

This commit is contained in:
bruvzg 2023-09-28 10:45:09 +03:00
parent ec62b8a3ee
commit 4a167fc740
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
12 changed files with 411 additions and 268 deletions

View file

@ -206,6 +206,7 @@ void TextServer::_bind_methods() {
/* Font Interface */
ClassDB::bind_method(D_METHOD("create_font"), &TextServer::create_font);
ClassDB::bind_method(D_METHOD("create_font_linked_variation", "font_rid"), &TextServer::create_font_linked_variation);
ClassDB::bind_method(D_METHOD("font_set_data", "font_rid", "data"), &TextServer::font_set_data);