Searched defs:ascent (Results 1 - 25 of 55) sorted by relevance

123

/external/chromium_org/third_party/ots/src/
H A Dmetrics.h17 int16_t ascent; member in struct:ots::OpenTypeMetricsHeader
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebFontImpl.cpp63 int WebFontImpl::ascent() const function in class:blink::WebFontImpl
65 return m_font.fontMetrics().ascent();
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_bar_instructions_view.cc52 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/core/svg/
H A DSVGFontFaceElement.cpp190 // were set to the position specified by the font's ascent attribute.
193 return ascent();
212 int SVGFontFaceElement::ascent() const function in class:blink::SVGFontFaceElement
214 // Spec: Same syntax and semantics as the 'ascent' descriptor within an @font-face rule. The maximum
H A DSVGFontData.cpp83 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);
/external/chromium_org/third_party/icu/source/samples/layout/
H A DFontMap.cpp260 le_int32 ascent, descent, leading; local
270 ascent = fFontInstances[i]->getAscent();
274 if (ascent > fAscent) {
275 fAscent = ascent;
H A Dparagraph.cpp87 le_int32 ascent = 0; local
129 if (pAscent > ascent) {
130 ascent = pAscent;
156 fLineHeight = ascent + descent + leading;
157 fAscent = ascent;
H A Dpflow.c111 le_int32 ascent = 0; local
186 if (pAscent > ascent) {
187 ascent = pAscent;
213 flow->fLineHeight = ascent + descent + leading;
214 flow->fAscent = ascent;
H A Dsfnt.h188 le_int16 ascent; member in struct:HHEATable
/external/chromium_org/ui/gfx/
H A Dfont_list_impl.cc225 int ascent = 0; local
230 ascent = std::max(ascent, i->GetBaseline());
233 common_height_ = ascent + descent;
234 common_baseline_ = ascent;
H A Drender_text_mac.cc140 CGFloat ascent = 0; local
144 double width = CTLineGetTypographicBounds(line_, &ascent, &descent, &leading);
145 // Ensure ascent and descent are not smaller than ones of the font list.
152 ascent = std::max(ascent, font_list_baseline);
154 string_size_ = SizeF(width, ascent + descent + leading);
155 common_baseline_ = ascent;
/external/icu/icu4c/source/samples/layout/
H A DFontMap.cpp260 le_int32 ascent, descent, leading; local
270 ascent = fFontInstances[i]->getAscent();
274 if (ascent > fAscent) {
275 fAscent = ascent;
H A Dparagraph.cpp87 le_int32 ascent = 0; local
129 if (pAscent > ascent) {
130 ascent = pAscent;
156 fLineHeight = ascent + descent + leading;
157 fAscent = ascent;
/external/chromium_org/ppapi/c/dev/
H A Dppb_font_dev.h129 int32_t ascent; member in struct:PP_FontMetrics_Dev
/external/chromium_org/ppapi/c/trusted/
H A Dppb_browser_font_trusted.h131 int32_t ascent; member in struct:PP_BrowserFont_Trusted_Metrics
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DImagePainter.cpp127 LayoutUnit ascent = fontMetrics.ascent(); local
130 LayoutPoint textOrigin(textRectOrigin.x(), textRectOrigin.y() + ascent);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontMetrics.h57 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/third_party/WebKit/Source/platform/fonts/skia/
H A DSimpleFontDataSkia.cpp94 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/freetype/include/freetype/
H A Dftwinfnt.h192 FT_UShort ascent; member in struct:FT_WinFNT_HeaderRec_
/external/freetype/include/
H A Dftwinfnt.h193 FT_UShort ascent; member in struct:FT_WinFNT_HeaderRec_
/external/pdfium/core/include/thirdparties/freetype/freetype/
H A Dftwinfnt.h192 FT_UShort ascent; member in struct:FT_WinFNT_HeaderRec_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
H A Dftwinfnt.h192 FT_UShort ascent; member in struct:FT_WinFNT_HeaderRec_
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_font.cpp215 int ascent = EM_ADJUST(FXFT_Get_Face_UnitsPerEM(m_Face), FXFT_Get_Face_Ascender(m_Face)); local
216 return ascent;
/external/chromium_org/third_party/icu/source/test/letest/
H A DFontObject.h151 le_int16 ascent; member in struct:HHEATable
/external/chromium_org/third_party/icu/source/test/perf/leperf/
H A DFontObject.h151 le_int16 ascent; member in struct:HHEATable

Completed in 2488 milliseconds

123