Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h642 int loca,head,glyf,hhea,hmtx,kern; // table locations as offset from start of .ttf member
1035 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()