Searched refs:x_height (Results 1 – 1 of 1) sorted by relevance
1301 SkScalar x_height = 0.0f; in generateFontMetrics() local1306 x_height = scaleX * SkIntToScalar(os2->sxHeight) / upem; in generateFontMetrics()1343 if (!x_height) { in generateFontMetrics()1346 x_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()1376 if (!x_height) { in generateFontMetrics()1377 x_height = -ascent; in generateFontMetrics()1403 metrics->fXHeight = x_height; in generateFontMetrics()