/lvgl-latest/src/libs/tiny_ttf/ |
D | lv_tiny_ttf.h | 39 lv_font_t * lv_tiny_ttf_create_file(const char * path, int32_t font_size); 49 lv_font_t * lv_tiny_ttf_create_file_ex(const char * path, int32_t font_size, lv_font_kerning_t kern… 60 lv_font_t * lv_tiny_ttf_create_data(const void * data, size_t data_size, int32_t font_size); 71 lv_font_t * lv_tiny_ttf_create_data_ex(const void * data, size_t data_size, int32_t font_size, 80 void lv_tiny_ttf_set_size(lv_font_t * font, int32_t font_size); 86 void lv_tiny_ttf_destroy(lv_font_t * font);
|
D | lv_tiny_ttf.c | 88 static bool ttf_get_glyph_dsc_cb(const lv_font_t * font, lv_font_glyph_dsc_t * dsc_out, uint32_t un… 91 static void ttf_release_glyph_cb(const lv_font_t * font, lv_font_glyph_dsc_t * g_dsc); 92 static lv_font_t * lv_tiny_ttf_create(const char * path, const void * data, size_t data_size, 123 void lv_tiny_ttf_set_size(lv_font_t * font, int32_t font_size) in lv_tiny_ttf_set_size() 151 void lv_tiny_ttf_destroy(lv_font_t * font) in lv_tiny_ttf_destroy() 206 static bool ttf_get_glyph_dsc_cb(const lv_font_t * font, lv_font_glyph_dsc_t * dsc_out, uint32_t un… in ttf_get_glyph_dsc_cb() 293 const lv_font_t * font = g_dsc->resolved_font; in ttf_get_glyph_bitmap_cb() 321 static void ttf_release_glyph_cb(const lv_font_t * font, lv_font_glyph_dsc_t * g_dsc) in ttf_release_glyph_cb() 358 static lv_font_t * lv_tiny_ttf_create(const char * path, const void * data, size_t data_size, int32… in lv_tiny_ttf_create() 401 lv_font_t * out_font = lv_malloc_zeroed(sizeof(lv_font_t)); in lv_tiny_ttf_create() [all …]
|
/lvgl-latest/src/font/ |
D | lv_font.c | 47 const lv_font_t * font_p = g_dsc->resolved_font; in lv_font_get_glyph_bitmap() 54 const lv_font_t * font = g_dsc->resolved_font; in lv_font_glyph_release_draw_data() 61 bool lv_font_get_glyph_dsc(const lv_font_t * font_p, lv_font_glyph_dsc_t * dsc_out, uint32_t letter, in lv_font_get_glyph_dsc() 69 const lv_font_t * placeholder_font = NULL; in lv_font_get_glyph_dsc() 72 const lv_font_t * f = font_p; in lv_font_get_glyph_dsc() 120 uint16_t lv_font_get_glyph_width(const lv_font_t * font, uint32_t letter, uint32_t letter_next) in lv_font_get_glyph_width() 132 void lv_font_set_kerning(lv_font_t * font, lv_font_kerning_t kerning) in lv_font_set_kerning() 138 int32_t lv_font_get_line_height(const lv_font_t * font) in lv_font_get_line_height() 143 const lv_font_t * lv_font_default(void) in lv_font_default()
|
D | lv_font.h | 62 const lv_font_t * 100 …bool (*get_glyph_dsc)(const lv_font_t *, lv_font_glyph_dsc_t *, uint32_t letter, uint32_t letter_n… 106 void (*release_glyph)(const lv_font_t *, lv_font_glyph_dsc_t *); 118 const lv_font_t * fallback; /**< Fallback font for missing glyph. Resolved recursively */ 144 bool lv_font_get_glyph_dsc(const lv_font_t * font, lv_font_glyph_dsc_t * dsc_out, uint32_t letter, 161 uint16_t lv_font_get_glyph_width(const lv_font_t * font, uint32_t letter, uint32_t letter_next); 168 int32_t lv_font_get_line_height(const lv_font_t * font); 175 void lv_font_set_kerning(lv_font_t * font, lv_font_kerning_t kerning); 181 #define LV_FONT_DECLARE(font_name) LV_ATTRIBUTE_EXTERN_DATA extern const lv_font_t font_name; 300 const lv_font_t * lv_font_default(void);
|
D | lv_binfont_loader.h | 34 lv_font_t * lv_binfont_create(const char * path); 44 lv_font_t * lv_binfont_create_from_buffer(void * buffer, uint32_t size); 51 void lv_binfont_destroy(lv_font_t * font);
|
/lvgl-latest/src/others/font_manager/ |
D | lv_font_manager.c | 39 lv_font_t * font_p; /* lv_freetype gen font */ 47 lv_font_t font; /* lvgl font info */ 64 static lv_font_rec_node_t * lv_font_manager_search_rec_node(lv_font_manager_t * manager, lv_font_t … 70 static lv_font_t * lv_font_manager_create_font_single(lv_font_manager_t * manager, const lv_freetyp… 71 static bool lv_font_manager_delete_font_single(lv_font_manager_t * manager, lv_font_t * font); 73 static lv_font_t * lv_font_manager_create_font_family(lv_font_manager_t * manager, const lv_freetyp… 74 static void lv_font_manager_delete_font_family(lv_font_manager_t * manager, lv_font_t * font); 179 lv_font_t * lv_font_manager_create_font(lv_font_manager_t * manager, const char * font_family, uint… in lv_font_manager_create_font() 193 lv_font_t * ret_font; in lv_font_manager_create_font() 203 lv_font_t * cur_font = ret_font; in lv_font_manager_create_font() [all …]
|
D | lv_font_manager_recycle.h | 58 lv_font_t * lv_font_manager_recycle_get_reuse(lv_font_manager_recycle_t * manager, const lv_freetyp… 65 void lv_font_manager_recycle_set_reuse(lv_font_manager_recycle_t * manager, lv_font_t * font,
|
D | lv_font_manager_recycle.c | 32 lv_font_t * font; 90 lv_font_t * lv_font_manager_recycle_get_reuse(lv_font_manager_recycle_t * manager, const lv_freetyp… in lv_font_manager_recycle_get_reuse() 103 lv_font_t * font = recycle->font; in lv_font_manager_recycle_get_reuse() 118 void lv_font_manager_recycle_set_reuse(lv_font_manager_recycle_t * manager, lv_font_t * font, in lv_font_manager_recycle_set_reuse()
|
D | lv_font_manager.h | 85 lv_font_t * lv_font_manager_create_font(lv_font_manager_t * manager, const char * font_family, uint… 94 void lv_font_manager_delete_font(lv_font_manager_t * manager, lv_font_t * font);
|
/lvgl-latest/tests/src/test_cases/ |
D | test_font_loader.c | 27 static int compare_fonts(lv_font_t * f1, lv_font_t * f2); 45 extern lv_font_t test_font_1; 46 extern lv_font_t test_font_2; 47 extern lv_font_t test_font_3; 54 static lv_font_t * font_1_bin = NULL; 55 static lv_font_t * font_2_bin = NULL; 56 static lv_font_t * font_3_bin = NULL; 156 lv_font_t style_font; in test_font_loader_reload() 157 lv_font_t * font; in test_font_loader_reload() 160 lv_memcpy(&style_font, font, sizeof(lv_font_t)); in test_font_loader_reload() [all …]
|
/lvgl-latest/src/others/imgfont/ |
D | lv_imgfont.c | 21 lv_font_t font; 30 static bool imgfont_get_glyph_dsc(const lv_font_t * font, lv_font_glyph_dsc_t * dsc_out, 48 lv_font_t * lv_imgfont_create(uint16_t height, lv_imgfont_get_path_cb_t path_cb, void * user_data) in lv_imgfont_create() 57 lv_font_t * font = &dsc->font; in lv_imgfont_create() 70 void lv_imgfont_destroy(lv_font_t * font) in lv_imgfont_destroy() 90 static bool imgfont_get_glyph_dsc(const lv_font_t * font, lv_font_glyph_dsc_t * dsc_out, in imgfont_get_glyph_dsc()
|
D | lv_imgfont.h | 30 typedef const void * (*lv_imgfont_get_path_cb_t)(const lv_font_t * font, 45 lv_font_t * lv_imgfont_create(uint16_t height, lv_imgfont_get_path_cb_t path_cb, void * user_data); 51 void lv_imgfont_destroy(lv_font_t * font);
|
/lvgl-latest/src/libs/freetype/ |
D | lv_freetype.h | 84 lv_font_t * lv_freetype_font_create(const char * pathname, lv_freetype_font_render_mode_t render_mo… 91 void lv_freetype_font_delete(lv_font_t * font); 108 uint32_t lv_freetype_outline_get_scale(const lv_font_t * font); 116 bool lv_freetype_is_outline_font(const lv_font_t * font);
|
/lvgl-latest/src/themes/ |
D | lv_theme_private.h | 34 const lv_font_t * font_small; 35 const lv_font_t * font_normal; 36 const lv_font_t * font_large;
|
D | lv_theme.h | 67 const lv_font_t * lv_theme_get_font_small(lv_obj_t * obj); 73 const lv_font_t * lv_theme_get_font_normal(lv_obj_t * obj); 80 const lv_font_t * lv_theme_get_font_large(lv_obj_t * obj);
|
D | lv_theme.c | 66 const lv_font_t * lv_theme_get_font_small(lv_obj_t * obj) in lv_theme_get_font_small() 72 const lv_font_t * lv_theme_get_font_normal(lv_obj_t * obj) in lv_theme_get_font_normal() 78 const lv_font_t * lv_theme_get_font_large(lv_obj_t * obj) in lv_theme_get_font_large()
|
/lvgl-latest/tests/src/test_cases/libs/ |
D | test_font_stress.c | 34 typedef lv_font_t * (*font_create_cb_t)(struct _font_stress_ctx_t * ctx, 40 typedef void (*font_delete_cb_t)(struct _font_stress_ctx_t * ctx, lv_font_t * font); 97 …lv_font_t * font = ctx->font_create_cb(ctx, font_name, LV_FREETYPE_FONT_RENDER_MODE_BITMAP, size, … in font_stress_label_create() 119 const lv_font_t * font = lv_obj_get_style_text_font(label, 0); in font_stress_label_delete() 122 ctx->font_delete_cb(ctx, (lv_font_t *)font); in font_stress_label_delete() 163 static lv_font_t * freetype_font_create_cb(font_stress_ctx_t * ctx, in freetype_font_create_cb() 173 static void freetype_font_delete_cb(font_stress_ctx_t * ctx, lv_font_t * font) in freetype_font_delete_cb() 179 static lv_font_t * font_manager_font_create_cb(font_stress_ctx_t * ctx, in font_manager_font_create_cb() 189 static void font_manager_font_delete_cb(font_stress_ctx_t * ctx, lv_font_t * font) in font_manager_font_delete_cb()
|
D | test_tiny_ttf.c | 23 lv_font_t * font = lv_tiny_ttf_create_data(test_ubuntu_font, test_ubuntu_font_size, 30); in test_tiny_ttf_rendering_test() 57 … lv_font_t * font_normal = lv_tiny_ttf_create_data(test_kern_one_otf, test_kern_one_otf_size, 80); in test_tiny_ttf_kerning() 58 lv_font_t * font_none = lv_tiny_ttf_create_data(test_kern_one_otf, test_kern_one_otf_size, 80); in test_tiny_ttf_kerning()
|
/lvgl-latest/src/misc/ |
D | lv_text.h | 85 void lv_text_get_size(lv_point_t * size_res, const char * text, const lv_font_t * font, int32_t let… 97 int32_t lv_text_get_width(const char * txt, uint32_t length, const lv_font_t * font, int32_t letter… 109 int32_t lv_text_get_width_with_flags(const char * txt, uint32_t length, const lv_font_t * font, int…
|
/lvgl-latest/examples/libs/tiny_ttf/ |
D | lv_example_tiny_ttf_3.c | 21 lv_font_t * font = lv_tiny_ttf_create_data(ubuntu_font, ubuntu_font_size, 25); in lv_example_tiny_ttf_3() 50 lv_font_t * font = (lv_font_t *) v.ptr; in font_size_observer_cb()
|
/lvgl-latest/src/others/xml/ |
D | lv_xml.h | 38 lv_result_t lv_xml_register_font(const char * name, const lv_font_t * font); 40 const lv_font_t * lv_xml_get_font(const char * name);
|
/lvgl-latest/demos/music/ |
D | lv_demo_music.c | 164 const lv_font_t * font_small = &lv_font_montserrat_22; in auto_step_cb() 165 const lv_font_t * font_large = &lv_font_montserrat_32; in auto_step_cb() 167 const lv_font_t * font_small = &lv_font_montserrat_12; in auto_step_cb() 168 const lv_font_t * font_large = &lv_font_montserrat_16; in auto_step_cb()
|
/lvgl-latest/src/draw/ |
D | lv_draw_label.h | 37 const lv_font_t * font; 70 const lv_font_t * font; 182 const lv_font_t * font, uint32_t letter, lv_draw_glyph_cb_t cb);
|
/lvgl-latest/examples/libs/freetype/ |
D | lv_example_freetype_2.c | 17 …lv_font_t * font = lv_freetype_font_create(PATH_PREFIX "lvgl/examples/libs/freetype/Lato-Regular.t… in lv_example_freetype_2() 25 …lv_font_t * font_emoji = lv_freetype_font_create(PATH_PREFIX "lvgl/examples/libs/freetype/NotoColo… in lv_example_freetype_2()
|
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_imgfont.c | 19 static const void * get_imgfont_path(const lv_font_t * font, uint32_t unicode, uint32_t unicode_nex… in get_imgfont_path() 41 lv_font_t * imgfont = lv_imgfont_create(80, get_imgfont_path, NULL); in test_imgfont_creation()
|