Searched refs:cap_height (Results 1 – 1 of 1) sorted by relevance
1305 SkScalar cap_height = 0.0f; in generateFontMetrics() local1311 cap_height = SkIntToScalar(os2->sCapHeight) / upem * fScale.y(); in generateFontMetrics()1351 if (!cap_height) { in generateFontMetrics()1354 cap_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()1384 if (!cap_height) { in generateFontMetrics()1385 cap_height = -ascent * fScale.y(); in generateFontMetrics()1402 metrics->fCapHeight = cap_height; in generateFontMetrics()