Searched refs:cap_height (Results 1 – 1 of 1) sorted by relevance
1310 SkScalar cap_height = 0.0f; in generateFontMetrics() local1316 cap_height = scaleX * SkIntToScalar(os2->sCapHeight) / upem; in generateFontMetrics()1356 if (!cap_height) { in generateFontMetrics()1359 cap_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()1389 if (!cap_height) { in generateFontMetrics()1390 cap_height = -ascent; in generateFontMetrics()1411 metrics->fCapHeight = cap_height; in generateFontMetrics()