699 - #define LV_FREETYPE_CACHE_FT_FACES 8 700 - #define LV_FREETYPE_CACHE_FT_SIZES 8 741 + /*Cache count of the glyphs in FreeType. It means the number of glyphs that can be cached. 742 + *The higher the value, the more memory will be used.*/ 701 743 #define LV_FREE...
* LV_FREETYPE_CACHE_TYPE_OUTLINE - Outline cache*/ #define LV_FREETYPE_CACHE_TYPE LV_FREETYPE_CACHE_TYPE_IMAGE /* Maximum number of opened FT_Face/FT_Size objects managed by this cache instance. */ /* (0:use system defaults) */ #define LV_FREETYPE_CACHE_FT_FACES 8 #define...
/*Init freetype library *Cache max 64 faces and 1 size*/ lv_freetype_init(64, 1, 0); /*Create a font*/ static lv_ft_info_t info; info.name = "./lv_lib_freetype/arial.ttf"; info.weight = 16; info.style = FT_FONT_STYLE_NORMAL; lv_ft_font_init(&info); /*Create style ...
***/ bool lv_freetype_(uint_t max_faces, uint16_t maxsizes, uint_t max_bytes) { FTError error = FT_Init_Free(&library); iferror) { LV_LOG_ERROR(init freeType error(%d)", error); return false; } #if LV_USE_FT_CACHE_MANAGER error= FTC...
#define LV_FREETYPE_CACHE_FT_FACES 8 #define LV_FREETYPE_CACHE_FT_SIZES 8 /*Cache count of the glyphs in FreeType. It means the number of glyphs that can be cached. *The higher the value, the more memory will be used.*/ #define LV_FREETYPE_CACHE_FT_GLYPH_CNT 256 #endif @@ -...
677 - #define LV_FREETYPE_CACHE_FT_FACES 8 678 - #define LV_FREETYPE_CACHE_FT_SIZES 8 801 + /*Cache count of the glyphs in FreeType. It means the number of glyphs that can be cached. 802 + *The higher the value, the more memory will be used.*/ 679 803 #define LV_FREE...
#define LV_FREETYPE_SBIT_CACHE 0 /* Maximum number of opened FT_Face/FT_Size objects managed by this cache instance. */ /* (0:use system defaults) */ #define LV_FREETYPE_CACHE_FT_FACES 0 #define LV_FREETYPE_CACHE_FT_SIZES 0 #endif #endif /*Rlottie library*/ #define...
/*Let FreeType to use LVGL memory and file porting*/ #define LV_FREETYPE_USE_LVGL_PORT 0 /* Maximum number of opened FT_Face/FT_Size objects managed by this cache instance. */ /* (0:use system defaults) */ #define LV_FREETYPE_CACHE_FT_FACES 8 #define LV_FREETYPE_CACHE_...
#defineLV_FREETYPE_CACHE_FT_FACES8 #defineLV_FREETYPE_CACHE_FT_SIZES8 /*Cache count of the glyphs in FreeType. It means the number of glyphs that can be cached. *The higher the value, the more memory will be used.*/ #defineLV_FREETYPE_CACHE_FT_GLYPH_CNT256 ...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...