Searched refs:x_height (Results 1 – 10 of 10) sorted by relevance
194 if (!table.ReadS16(&os2->x_height) || in ots_os2_parse()202 if (os2->x_height < 0) { in ots_os2_parse()203 OTS_WARNING("bad x_height: %d", os2->x_height); in ots_os2_parse()204 os2->x_height = 0; in ots_os2_parse()275 if (!out->WriteS16(os2->x_height) || in ots_os2_serialise()
45 int16_t x_height; member
132 int32_t x_height; member
134 int32_t x_height; member
1414 SkScalar x_height = 0.0f; in generateFontMetrics() local1419 x_height = scaleX * SkIntToScalar(os2->sxHeight) / upem; in generateFontMetrics()1450 if (!x_height) { in generateFontMetrics()1453 x_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()1489 if (!x_height) { in generateFontMetrics()1490 x_height = -ascent; in generateFontMetrics()1513 mx->fXHeight = x_height; in generateFontMetrics()1527 my->fXHeight = x_height; in generateFontMetrics()
1409 SkScalar x_height = 0.0f; in generateFontMetrics() local1414 x_height = scaleX * SkIntToScalar(os2->sxHeight) / upem; in generateFontMetrics()1440 if (!x_height) { in generateFontMetrics()1443 x_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()1473 if (!x_height) { in generateFontMetrics()1474 x_height = -ascent; in generateFontMetrics()1500 metrics->fXHeight = x_height; in generateFontMetrics()
196 (text_rc_.y() + text_rc_.bottom() + metrics.x_height) / 2); in PrepareBackground()
291 metrics->x_height = static_cast<int32_t>(font_->xHeight()); in Describe()
112 int32_t x_height;
114 int32_t x_height;