Home
last modified time | relevance | path

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

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