Searched refs:cap_height (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/ots/src/
H A Dos2.h46 int16_t cap_height; member in struct:ots::OpenTypeOS2
H A Dos2.cc195 !table.ReadS16(&os2->cap_height) ||
206 if (os2->cap_height < 0) {
207 OTS_WARNING("bad cap_height: %d", os2->cap_height);
208 os2->cap_height = 0;
276 !out->WriteS16(os2->cap_height) ||
/external/chromium_org/ui/gfx/
H A Dplatform_font_win.h88 int cap_height,
96 int cap_height() const { return cap_height_; } function in class:gfx::PlatformFontWin::HFontRef
H A Dplatform_font_win.cc153 return font_ref_->cap_height();
264 const int cap_height = local
277 return new HFontRef(font, font_size, height, baseline, cap_height,
322 int cap_height,
329 cap_height_(cap_height),
318 HFontRef(HFONT hfont, int font_size, int height, int baseline, int cap_height, int ave_char_width, int style) argument
H A Drender_text.cc69 const int cap_height = font_list.GetCapHeight(); local
70 const int internal_leading = baseline - cap_height;
76 display_height - ((internal_leading != 0) ? cap_height : font_height);
/external/chromium_org/chrome/browser/chromeos/ui/
H A Daccessibility_focus_ring.cc15 int cap_height = std::min(bounds.height() / 2, margin * 2); local
18 bounds.width(), cap_height);
19 gfx::Rect bottom(bounds.x(), bounds.bottom() - cap_height,
20 bounds.width(), cap_height);
/external/skia/src/ports/
H A DSkFontHost_FreeType.cpp1416 SkScalar cap_height = 0.0f; local
1422 cap_height = scaleX * SkIntToScalar(os2->sCapHeight) / upem;
1449 // we may be able to synthesize x_height and cap_height from outline
1456 if (!cap_height) {
1459 cap_height = SkIntToScalar(bbox.yMax) / 64.0f;
1495 if (!cap_height) {
1496 cap_height = -ascent;
1514 mx->fCapHeight = cap_height;
1528 my->fCapHeight = cap_height;
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_FreeType.cpp1411 SkScalar cap_height = 0.0f; local
1417 cap_height = scaleX * SkIntToScalar(os2->sCapHeight) / upem;
1439 // we may be able to synthesize x_height and cap_height from outline
1446 if (!cap_height) {
1449 cap_height = SkIntToScalar(bbox.yMax) / 64.0f;
1479 if (!cap_height) {
1480 cap_height = -ascent;
1501 metrics->fCapHeight = cap_height;

Completed in 617 milliseconds