lvgl / lv_lib_freetype

Interface to FreeType to generate font bitmaps run time
https://lvgl.io
MIT License
55 stars 19 forks source link

refactor the code #9

Closed guoweilkd closed 3 years ago

guoweilkd commented 3 years ago
  1. Add a memory free interface:lv_ft_font_destory()
  2. fix atuo free FT_face bug when use cache manager.
  3. For different sizes of the same font, use FT_size instead of FT_Face
kisvegabor commented 3 years ago

Thank you! It's great to expose all caching parameters to lv_freetype_init. I think in most cases max_bytes is the easiest to use.

kisvegabor commented 3 years ago

Looks good! Thank you very much!