Lines Matching defs:cmap
10978 int index_map; /* a cmap mapping for our chosen character encoding */
11116 nk_uint cmap, t;
11123 cmap = nk_tt__find_table(data, (nk_uint)fontstart, "cmap"); /* required */
11130 if (!cmap || !info->loca || !info->head || !info->glyf || !info->hhea || !info->hmtx)
11137 /* find a cmap encoding table we understand *now* to avoid searching */
11140 numTables = nk_ttUSHORT(data + cmap + 2);
11144 nk_uint encoding_record = cmap + 4 + 8 * (nk_uint)i;
11152 info->index_map = (int)(cmap + nk_ttULONG(data+encoding_record+4));
11159 info->index_map = (int)(cmap + nk_ttULONG(data+encoding_record+4));