refactor(freetype): refactor freetype params

This commit is contained in:
Benign X
2024-03-15 12:41:03 +08:00
committed by VIFEXT
parent 0b3016c0e5
commit 0c84cc0b3b
15 changed files with 39 additions and 101 deletions

View File

@@ -296,11 +296,7 @@ void lv_init(void)
#if LV_USE_FREETYPE
/*Init freetype library*/
# if LV_FREETYPE_CACHE_SIZE >= 0
lv_freetype_init();
# else
lv_freetype_init(0, 0, 0);
# endif
lv_freetype_init(LV_FREETYPE_CACHE_FT_GLYPH_CNT);
#endif
#if LV_USE_TINY_TTF