Home
last modified time | relevance | path

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

/lvgl-latest/src/font/
Dlv_font_loader.c339 … uint32_t start, uint32_t * glyph_offset, uint32_t loca_count, font_header_bin_t * header) in load_glyph() argument
358 lv_fs_res_t res = lv_fs_seek(fp, start + glyph_offset[i], LV_FS_SEEK_SET); in load_glyph()
400 int next_offset = (i < loca_count - 1) ? glyph_offset[i + 1] : (uint32_t)glyph_length; in load_glyph()
401 int bmp_size = next_offset - glyph_offset[i] - nbits / 8; in load_glyph()
424 lv_fs_res_t res = lv_fs_seek(fp, start + glyph_offset[i], LV_FS_SEEK_SET); in load_glyph()
441 int next_offset = (i < loca_count - 1) ? glyph_offset[i + 1] : (uint32_t)glyph_length; in load_glyph()
442 int bmp_size = next_offset - glyph_offset[i] - nbits / 8; in load_glyph()
535 uint32_t * glyph_offset = lv_mem_alloc(sizeof(uint32_t) * (loca_count + 1)); in lvgl_load_font() local
544 glyph_offset[i] = offset; in lvgl_load_font()
548 if(lv_fs_read(fp, glyph_offset, loca_count * sizeof(uint32_t), NULL) != LV_FS_RES_OK) { in lvgl_load_font()
[all …]