Lines Matching refs:unitsPerEm
408 _inline int XUnits(int unitsPerEm, int n) in XUnits() argument
410 return (n * 1000) / unitsPerEm; in XUnits()
1609 kern[i].x = XUnits(ttf->unitsPerEm, GetInt16(ptr, 4 + (l-1) * 6, 1)); in KernGlyphsPrim2()
1611 kern[i].y = XUnits(ttf->unitsPerEm, GetInt16(ptr, 4 + (l-1) * 6, 1)); in KernGlyphsPrim2()
1876 t->unitsPerEm = GetUInt16(table, 18, 1); in doOpenTTFont()
1879 if( ((indexfmt != 0) && (indexfmt != 1)) || (t->unitsPerEm <= 0) ) { in doOpenTTFont()
2001 int UPEm = ttf->unitsPerEm; in CreateT3FromTTGlyphs()
2397 int UPEm = ttf->unitsPerEm; in CreateT42FromTTGlyphs()
2617 const int UPEm = ttf->unitsPerEm; in GetTTSimpleGlyphMetrics()
2671 int UPEm = ttf->unitsPerEm; in GetTTGlobalFontInfo()
3231 fprintf(stderr, "UnitsPerEm: %d.\n", fnt->unitsPerEm); in main()