Searched refs:cap_height (Results 1 – 1 of 1) sorted by relevance
1303 SkScalar cap_height = 0.0f; in generateFontMetrics() local1309 cap_height = scaleX * SkIntToScalar(os2->sCapHeight) / upem; in generateFontMetrics()1349 if (!cap_height) { in generateFontMetrics()1352 cap_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()1382 if (!cap_height) { in generateFontMetrics()1383 cap_height = -ascent; in generateFontMetrics()1404 metrics->fCapHeight = cap_height; in generateFontMetrics()