Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/font/
Dlv_font_loader.c255 lv_font_fmt_txt_cmap_t * cmap = (lv_font_fmt_txt_cmap_t *) & (font_dsc->cmaps[i]); in load_cmaps_tables() local
257 cmap->range_start = cmap_table[i].range_start; in load_cmaps_tables()
258 cmap->range_length = cmap_table[i].range_length; in load_cmaps_tables()
259 cmap->glyph_id_start = cmap_table[i].glyph_id_start; in load_cmaps_tables()
260 cmap->type = cmap_table[i].format_type; in load_cmaps_tables()
267 cmap->glyph_id_ofs_list = glyph_id_ofs_list; in load_cmaps_tables()
273 cmap->list_length = cmap->range_length; in load_cmaps_tables()
283 cmap->unicode_list = unicode_list; in load_cmaps_tables()
284 cmap->list_length = cmap_table[i].data_entries_count; in load_cmaps_tables()
291 uint16_t * buf = lv_mem_alloc(sizeof(uint16_t) * cmap->list_length); in load_cmaps_tables()
[all …]
/lvgl-3.6.0/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h1577 stbtt_uint32 cmap, t; local
1584 cmap = stbtt__find_table(data, fontstart, "cmap"); // required
1593 if(!cmap || !info->head || !info->hhea || !info->hmtx)
1666 numTables = ttUSHORT(data, cmap + 2);
1669 stbtt_uint32 encoding_record = cmap + 4 + 8 * i;
1677 info->index_map = cmap + ttULONG(data, encoding_record + 4);
1684 info->index_map = cmap + ttULONG(data, encoding_record + 4);