Home
last modified time | relevance | path

Searched refs:x_height (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/ports/
DSkFontHost_FreeType.cpp1301 SkScalar x_height = 0.0f; in generateFontMetrics() local
1306 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()