feat(imgfont): add option to use img cache to buffer img headers (#3504)

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech
2022-07-19 19:33:55 +08:00
committed by GitHub
parent 451a1e56f9
commit a6f7370d75
4 changed files with 52 additions and 4 deletions

View File

@@ -669,6 +669,13 @@
/*1: Support using images as font in label or span widgets */
#define LV_USE_IMGFONT 0
#if LV_USE_IMGFONT
/*Imgfont image file path maximum length*/
#define LV_IMGFONT_PATH_MAX_LEN 64
/*1: Use img cache to buffer header information*/
#define LV_IMGFONT_USE_IMG_CACHE_HEADER 0
#endif
/*1: Enable a published subscriber based messaging system */
#define LV_USE_MSG 0