Searched refs:hmtx (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/src/extra/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 748 … int loca, head, glyf, hhea, hmtx, kern, gpos, svg; // table locations as offset from start of .ttf member 1581 info->hmtx = stbtt__find_table(data, fontstart, "hmtx"); // required 1585 if(!cmap || !info->head || !info->hhea || !info->hmtx) 2553 if(advanceWidth) *advanceWidth = ttSHORT(info->data, info->hmtx + 4 * glyph_index); 2554 … if(leftSideBearing) *leftSideBearing = ttSHORT(info->data, info->hmtx + 4 * glyph_index + 2); 2557 …if(advanceWidth) *advanceWidth = ttSHORT(info->data, info->hmtx + 4 * (numOfLongHorMetrics - 1… 2559 … info->hmtx + 4 * numOfLongHorMetrics + 2 * (glyph_index - numOfLongHorMetrics));
|