Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkFontHost_FreeType.cpp1620 SkScalar yppem = SkIntToScalar(face->size->metrics.y_ppem); in generateFontMetrics() local
1621 ascent = -SkIntToScalar(face->size->metrics.ascender) / (yppem * 64.0f); in generateFontMetrics()
1622 descent = -SkIntToScalar(face->size->metrics.descender) / (yppem * 64.0f); in generateFontMetrics()
1623 leading = (SkIntToScalar(face->size->metrics.height) / (yppem * 64.0f)) + ascent - descent; in generateFontMetrics()