Searched refs:x_height (Results 1 – 1 of 1) sorted by relevance
1353 SkScalar x_height = 0.0f; in generateFontMetrics() local1358 x_height = SkIntToScalar(os2->sxHeight) / upem * fScale.y(); in generateFontMetrics()1395 if (!x_height) { in generateFontMetrics()1398 x_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()1428 if (!x_height) { in generateFontMetrics()1429 x_height = -ascent * fScale.y(); in generateFontMetrics()1451 metrics->fXHeight = x_height; in generateFontMetrics()