Home
last modified time | relevance | path

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

/external/chromium_org/third_party/ots/src/
Dos2.cc195 !table.ReadS16(&os2->cap_height) || in ots_os2_parse()
206 if (os2->cap_height < 0) { in ots_os2_parse()
207 OTS_WARNING("bad cap_height: %d", os2->cap_height); in ots_os2_parse()
208 os2->cap_height = 0; in ots_os2_parse()
276 !out->WriteS16(os2->cap_height) || in ots_os2_serialise()
Dos2.h46 int16_t cap_height; member
/external/chromium_org/ui/gfx/
Dplatform_font_win.cc153 return font_ref_->cap_height(); in GetCapHeight()
264 const int cap_height = in CreateHFontRef() local
277 return new HFontRef(font, font_size, height, baseline, cap_height, in CreateHFontRef()
322 int cap_height, in HFontRef() argument
329 cap_height_(cap_height), in HFontRef()
Dplatform_font_win.h88 int cap_height,
96 int cap_height() const { return cap_height_; } in cap_height() function
Drender_text.cc69 const int cap_height = font_list.GetCapHeight(); in DetermineBaselineCenteringText() local
70 const int internal_leading = baseline - cap_height; in DetermineBaselineCenteringText()
76 display_height - ((internal_leading != 0) ? cap_height : font_height); in DetermineBaselineCenteringText()
/external/chromium_org/content/common/
Dsandbox_mac_fontloading_unittest.mm95 CGFloat cap_height = CTFontGetCapHeight(ct_font_ref);
97 if (cap_height <= 0.0) {
98 LOG(ERROR) << "Got bad value for CTFontGetCapHeight " << cap_height;
/external/chromium_org/chrome/browser/chromeos/ui/
Daccessibility_focus_ring.cc15 int cap_height = std::min(bounds.height() / 2, margin * 2); in CreateWithRect() local
18 bounds.width(), cap_height); in CreateWithRect()
19 gfx::Rect bottom(bounds.x(), bounds.bottom() - cap_height, in CreateWithRect()
20 bounds.width(), cap_height); in CreateWithRect()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp1416 SkScalar cap_height = 0.0f; in generateFontMetrics() local
1422 cap_height = scaleX * SkIntToScalar(os2->sCapHeight) / upem; in generateFontMetrics()
1456 if (!cap_height) { in generateFontMetrics()
1459 cap_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()
1495 if (!cap_height) { in generateFontMetrics()
1496 cap_height = -ascent; in generateFontMetrics()
1514 mx->fCapHeight = cap_height; in generateFontMetrics()
1528 my->fCapHeight = cap_height; in generateFontMetrics()
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_FreeType.cpp1411 SkScalar cap_height = 0.0f; in generateFontMetrics() local
1417 cap_height = scaleX * SkIntToScalar(os2->sCapHeight) / upem; in generateFontMetrics()
1446 if (!cap_height) { in generateFontMetrics()
1449 cap_height = SkIntToScalar(bbox.yMax) / 64.0f; in generateFontMetrics()
1479 if (!cap_height) { in generateFontMetrics()
1480 cap_height = -ascent; in generateFontMetrics()
1501 metrics->fCapHeight = cap_height; in generateFontMetrics()