From 202528c5572500e31e4bde15712ddb0ea31dd7be Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 24 Aug 2018 11:20:50 -0300 Subject: [PATCH] Initalize font size to 16, closes #21165 (cherry picked from commit c399c41dfb065efab8d3b168ef0a1c5a5cf609d5) --- scene/resources/dynamic_font.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/resources/dynamic_font.cpp b/scene/resources/dynamic_font.cpp index 8e85a78a476..88092f463a3 100644 --- a/scene/resources/dynamic_font.cpp +++ b/scene/resources/dynamic_font.cpp @@ -965,6 +965,7 @@ SelfList::List *DynamicFont::dynamic_fonts = NULL; DynamicFont::DynamicFont() : font_list(this) { + cache_id.size = 16; spacing_top = 0; spacing_bottom = 0; spacing_char = 0;