Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_font/
Dlv_font_loader.c363 … uint32_t start, uint32_t * glyph_offset, uint32_t loca_count, font_header_bin_t * header) in load_glyph() argument
371 … lv_mem_alloc(loca_count * sizeof(lv_font_fmt_txt_glyph_dsc_t)); in load_glyph()
373 memset(glyph_dsc, 0, loca_count * sizeof(lv_font_fmt_txt_glyph_dsc_t)); in load_glyph()
379 for(unsigned int i = 0; i < loca_count; ++i) { in load_glyph()
424 int next_offset = (i < loca_count - 1) ? glyph_offset[i + 1] : (uint32_t)(glyph_length - 1); in load_glyph()
447 for(unsigned int i = 1; i < loca_count; ++i) { in load_glyph()
465 int next_offset = (i < loca_count - 1) ? glyph_offset[i + 1] : (uint32_t)(glyph_length - 1); in load_glyph()
535 uint32_t loca_count; in lvgl_load_font() local
536 if(lv_fs_read(fp, &loca_count, sizeof(uint32_t), NULL) != LV_FS_RES_OK) { in lvgl_load_font()
541 uint32_t * glyph_offset = lv_mem_alloc(sizeof(uint32_t) * (loca_count + 1)); in lvgl_load_font()
[all …]