Searched refs:yppem (Results 1 – 1 of 1) sorted by relevance
1359 SkScalar yppem = SkIntToScalar(face->size->metrics.y_ppem); in generateFontMetrics() local1360 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()