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