Searched refs:x_height (Results 1 – 1 of 1) sorted by relevance
1308 SkScalar x_height = 0.0f; in generateFontMetrics() local1313 x_height = scaleX * SkIntToScalar(os2->sxHeight) / upem; in generateFontMetrics()1350 if (!x_height) { in generateFontMetrics()1353 x_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()1383 if (!x_height) { in generateFontMetrics()1384 x_height = -ascent; in generateFontMetrics()1410 metrics->fXHeight = x_height; in generateFontMetrics()