Home
last modified time | relevance | path

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

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