/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | FontMetrics.h | 57 void setAscent(float ascent) { m_ascent = ascent; } argument 90 int ascent(FontBaseline baselineType = AlphabeticBaseline) const function in class:blink::FontMetrics 106 return ascent(baselineType) + descent(baselineType); 114 return ascent() == other.ascent() && descent() == other.descent() && lineGap() == other.lineGap();
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_bar_instructions_view.cc | 52 int ascent = 0, descent = 0, height = 0, width = 0; local 58 ascent = std::max(ascent, baseline); 66 if (ascent != 0) 67 height = std::max(ascent + descent, height);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
H A D | SimpleFontDataSkia.cpp | 94 float ascent; local 98 // metrics *exactly* (except the adjustment of ascent/descent on Linux/Android). 100 ascent = vdmxAscent; 103 ascent = SkScalarRoundToInt(-metrics.fAscent); 108 // To avoid that, borrow 1 unit from the ascent when possible. 109 // FIXME: This can be removed if sub-pixel ascent/descent is supported. 110 if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) { 112 --ascent; 117 m_fontMetrics.setAscent(ascent); 125 xHeight = ascent * 0.5 [all...] |
/external/chromium_org/third_party/ots/src/ |
H A D | metrics.cc | 18 if (!table->ReadS16(&header->ascent) || 31 if (header->ascent < 0) { 32 OTS_WARNING("bad ascent: %d", header->ascent); 33 header->ascent = 0; 82 !out->WriteS16(header->ascent) ||
|
H A D | metrics.h | 17 int16_t ascent; member in struct:ots::OpenTypeMetricsHeader
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebFontImpl.h | 47 virtual int ascent() const OVERRIDE;
|
H A D | WebFontImpl.cpp | 63 int WebFontImpl::ascent() const function in class:blink::WebFontImpl 65 return m_font.fontMetrics().ascent();
|
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebFont.h | 55 virtual int ascent() const = 0;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGFontData.cpp | 83 float ascent = svgFontFaceElement->ascent() * scale; local 92 xHeight = letterXGlyph ? fontData->widthForGlyph(letterXGlyph) : 2 * ascent / 3; 97 fontMetrics.setAscent(ascent); 100 fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap)); 107 fontData->setMaxCharWidth(ascent); 122 fontData->setMaxCharWidth(letterWGlyph ? fontData->widthForGlyph(letterWGlyph) : ascent);
|
H A D | SVGFontFaceElement.h | 48 int ascent() const;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | EllipsisBox.cpp | 50 FloatPoint textOrigin(boxOrigin.x(), boxOrigin.y() + font.fontMetrics().ascent()); 98 y() + style->fontMetrics().ascent() - (markupBox->y() + markupBox->renderer().style(isFirstLineStyle())->fontMetrics().ascent())); 140 LayoutUnit mty = adjustedLocation.y() + style->fontMetrics().ascent() - (markupBox->y() + markupBox->renderer().style(isFirstLineStyle())->fontMetrics().ascent());
|
H A D | RootInlineBox.cpp | 595 static void setAscentAndDescent(int& ascent, int& descent, int newAscent, int newDescent, bool& ascentDescentSet) argument 599 ascent = newAscent; 602 ascent = std::max(ascent, newAscent); 607 void RootInlineBox::ascentAndDescentForBox(InlineBox* box, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, int& ascent, int& descent, argument 616 ascent = box->baselinePosition(baselineType()); 617 descent = box->lineHeight() - ascent; 619 // Replaced elements always affect both the ascent and descent. 644 int usedFontAscent = fontMetrics.ascent(baselineType()); 650 setAscentAndDescent(ascent, descen [all...] |
/external/chromium_org/third_party/icu/source/samples/layout/ |
H A D | paragraph.cpp | 87 le_int32 ascent = 0; local 129 if (pAscent > ascent) { 130 ascent = pAscent; 156 fLineHeight = ascent + descent + leading; 157 fAscent = ascent;
|
H A D | FontMap.cpp | 260 le_int32 ascent, descent, leading; local 270 ascent = fFontInstances[i]->getAscent(); 274 if (ascent > fAscent) { 275 fAscent = ascent;
|
H A D | pflow.c | 111 le_int32 ascent = 0; local 186 if (pAscent > ascent) { 187 ascent = pAscent; 213 flow->fLineHeight = ascent + descent + leading; 214 flow->fAscent = ascent;
|
/external/chromium_org/ui/gfx/ |
H A D | font_list_impl.cc | 225 int ascent = 0; local 230 ascent = std::max(ascent, i->GetBaseline()); 233 common_height_ = ascent + descent; 234 common_baseline_ = ascent;
|
/external/icu/icu4c/source/samples/layout/ |
H A D | paragraph.cpp | 87 le_int32 ascent = 0; local 129 if (pAscent > ascent) { 130 ascent = pAscent; 156 fLineHeight = ascent + descent + leading; 157 fAscent = ascent;
|
H A D | FontMap.cpp | 260 le_int32 ascent, descent, leading; local 270 ascent = fFontInstances[i]->getAscent(); 274 if (ascent > fAscent) { 275 fAscent = ascent;
|
/external/chromium_org/third_party/freetype/include/freetype/ |
H A D | ftwinfnt.h | 192 FT_UShort ascent; member in struct:FT_WinFNT_HeaderRec_
|
/external/freetype/include/ |
H A D | ftwinfnt.h | 193 FT_UShort ascent; member in struct:FT_WinFNT_HeaderRec_
|
/external/pdfium/core/include/thirdparties/freetype/freetype/ |
H A D | ftwinfnt.h | 192 FT_UShort ascent; member in struct:FT_WinFNT_HeaderRec_
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ |
H A D | ftwinfnt.h | 192 FT_UShort ascent; member in struct:FT_WinFNT_HeaderRec_
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/ |
H A D | glx_usefont.c | 50 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); 56 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); 240 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; 322 height = ch->ascent + ch->descent; 331 y = ch->ascent;
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
H A D | xfont.c | 56 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); 62 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); 244 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; 325 height = ch->ascent + ch->descent; 333 y = ch->ascent;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
H A D | xfonts.c | 57 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); 63 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); 246 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; 328 height = ch->ascent + ch->descent; 337 y = ch->ascent;
|