Searched refs:hmtx (Results 1 – 1 of 1) sorted by relevance
642 int loca,head,glyf,hhea,hmtx,kern; // table locations as offset from start of .ttf member1035 info->hmtx = stbtt__find_table(data, fontstart, "hmtx"); // required in stbtt_InitFont()1037 if (!cmap || !info->loca || !info->head || !info->glyf || !info->hhea || !info->hmtx) in stbtt_InitFont()1475 if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*glyph_index); in stbtt_GetGlyphHMetrics()1476 if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*glyph_index + 2); in stbtt_GetGlyphHMetrics()1478 …if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*(numOfLongHorMetrics-… in stbtt_GetGlyphHMetrics()1479 …if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*numOfLongHorMetrics +… in stbtt_GetGlyphHMetrics()