Home
last modified time | relevance | path

Searched refs:loca_count (Results 1 – 1 of 1) sorted by relevance

/lvgl-latest/src/font/
Dlv_binfont_loader.c315 … uint32_t start, uint32_t * glyph_offset, uint32_t loca_count, font_header_bin_t * header) in load_glyph() argument
323 … lv_malloc(loca_count * sizeof(lv_font_fmt_txt_glyph_dsc_t)); in load_glyph()
325 lv_memset(glyph_dsc, 0, loca_count * sizeof(lv_font_fmt_txt_glyph_dsc_t)); in load_glyph()
331 for(unsigned int i = 0; i < loca_count; ++i) { in load_glyph()
376 int next_offset = (i < loca_count - 1) ? glyph_offset[i + 1] : (uint32_t)glyph_length; in load_glyph()
399 for(unsigned int i = 1; i < loca_count; ++i) { in load_glyph()
417 int next_offset = (i < loca_count - 1) ? glyph_offset[i + 1] : (uint32_t)glyph_length; in load_glyph()
505 uint32_t loca_count; in lvgl_load_font() local
506 if(lv_fs_read(fp, &loca_count, sizeof(uint32_t), NULL) != LV_FS_RES_OK) { in lvgl_load_font()
511 uint32_t * glyph_offset = lv_malloc(sizeof(uint32_t) * (loca_count + 1)); in lvgl_load_font()
[all …]