PlayAnim: only load the built-in mono-space font

There is no need to load all fonts on startup when only the mono-spaced
font is used.
This commit is contained in:
Campbell Barton
2023-06-28 13:46:26 +10:00
parent d1e6c8f5a6
commit 3ab8e9b144

View File

@@ -1613,7 +1613,6 @@ static char *wm_main_playanim_intern(int argc, const char **argv)
/* initialize the font */
BLF_init();
BLF_load_font_stack();
ps.fontid = BLF_load_mono_default(false);
ps.font_size = -1; /* Force update. */