luat_lvgl_fonts.h 831 B

123456789101112131415161718192021222324252627282930
  1. #ifndef LUAT_LIB_FONTS_H
  2. #define LUAT_LIB_FONTS_H
  3. #include "luat_base.h"
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #include "../src/lv_font/lv_font.h"
  8. bool lv_font_is_gt(lv_font_t *font);
  9. lv_font_t *lv_font_new_gt(uint8_t sty_zh, uint8_t sty_en, uint8_t size, uint8_t bpp, uint16_t thickness, uint8_t cache_size);
  10. void lv_font_del_gt(lv_font_t *font);
  11. // LV_FONT_DECLARE(lv_font_opposans_m_8)
  12. // LV_FONT_DECLARE(lv_font_opposans_m_10)
  13. // LV_FONT_DECLARE(lv_font_opposans_m_12)
  14. // LV_FONT_DECLARE(lv_font_opposans_m_14)
  15. // LV_FONT_DECLARE(lv_font_opposans_m_16)
  16. // LV_FONT_DECLARE(lv_font_opposans_m_18)
  17. // LV_FONT_DECLARE(lv_font_opposans_m_20)
  18. // LV_FONT_DECLARE(lv_font_opposans_m_22)
  19. // LV_FONT_DECLARE(lv_font_simsun_42)
  20. // LV_FONT_DECLARE(lv_font_simsun_48)
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif