refactor(freetype): refactor glyph_index acquire method

This commit is contained in:
Benign X
2024-03-13 18:21:23 +08:00
committed by VIFEXT
parent 3fa4d29714
commit 0b3016c0e5
7 changed files with 7 additions and 84 deletions

View File

@@ -297,7 +297,7 @@ void lv_init(void)
#if LV_USE_FREETYPE
/*Init freetype library*/
# if LV_FREETYPE_CACHE_SIZE >= 0
lv_freetype_init(LV_FREETYPE_CACHE_FT_FACES, LV_FREETYPE_CACHE_FT_SIZES, LV_FREETYPE_CACHE_SIZE);
lv_freetype_init();
# else
lv_freetype_init(0, 0, 0);
# endif