Searched refs:cap_height (Results 1 – 1 of 1) sorted by relevance
1355 SkScalar cap_height = 0.0f; in generateFontMetrics() local1361 cap_height = SkIntToScalar(os2->sCapHeight) / upem * fScale.y(); in generateFontMetrics()1401 if (!cap_height) { in generateFontMetrics()1404 cap_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()1434 if (!cap_height) { in generateFontMetrics()1435 cap_height = -ascent * fScale.y(); in generateFontMetrics()1452 metrics->fCapHeight = cap_height; in generateFontMetrics()