Searched refs:descent (Results 1 - 25 of 75) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontMetrics.h64 void setDescent(float descent) { m_descent = descent; } argument
95 int descent(FontBaseline baselineType = AlphabeticBaseline) const function in class:WebCore::FontMetrics
104 return ascent(baselineType) + descent(baselineType);
112 return ascent() == other.ascent() && descent() == other.descent() && lineGap() == other.lineGap();
/external/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_bar_instructions_view.cc40 int ascent = 0, descent = 0, height = 0, width = 0; local
47 descent = std::max(descent, pref.height() - baseline);
55 height = std::max(ascent + descent, height);
/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
59 descent = std::max(descent, pref.height() - baseline);
67 height = std::max(ascent + descent, height);
/external/harfbuzz_ng/util/
H A Dview-cairo.cc80 double descent; local
82 descent = font_extents.height * (lines->len + .5);
84 descent = font_extents.height - font_extents.ascent;
85 cairo_translate (cr, v * descent, h * -descent);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
H A DSimpleFontDataSkia.cpp86 float descent; local
89 // metrics *exactly* (except the adjustment of ascent/descent on Linux/Android).
92 descent = -vdmxDescent;
95 descent = SkScalarRound(metrics.fDescent);
97 // When subpixel positioning is enabled, if the descent is rounded down, the descent part
100 // FIXME: This can be removed if sub-pixel ascent/descent is supported.
101 if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) {
102 ++descent;
109 m_fontMetrics.setDescent(descent);
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFontFaceElement.h47 int descent() const;
H A DSVGFontFaceElement.cpp234 int SVGFontFaceElement::descent() const function in class:WebCore::SVGFontFaceElement
236 // Spec: Same syntax and semantics as the 'descent' descriptor within an @font-face rule. The maximum
241 // 14 different W3C SVG 1.1 testcases use a negative descent value,
244 int descent = static_cast<int>(ceilf(descentValue.toFloat())); local
245 return descent < 0 ? -descent : descent;
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebFontImpl.h48 virtual int descent() const;
H A DWebFontImpl.cpp70 int WebFontImpl::descent() const function in class:blink::WebFontImpl
72 return m_font.fontMetrics().descent();
/external/chromium_org/third_party/WebKit/public/web/
H A DWebFont.h56 virtual int descent() const = 0;
/external/chromium_org/third_party/ots/src/
H A Dmetrics.h18 int16_t descent; member in struct:ots::OpenTypeMetricsHeader
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
H A DSimpleFontDataWin.cpp75 // FIXME: Access ascent/descent/lineGap with floating point precision.
77 float descent = textMetric.tmDescent; local
94 m_fontMetrics.setDescent(descent);
97 m_fontMetrics.setLineSpacing(ascent + descent + lineGap);
/external/chromium_org/ui/gfx/
H A Dfont_list.cc278 int descent = 0; local
283 descent = std::max(descent, i->GetHeight() - i->GetBaseline());
285 common_height_ = ascent + descent;
/external/icu4c/samples/layout/
H A DFontMap.cpp260 le_int32 ascent, descent, leading; local
271 descent = fFontInstances[i]->getDescent();
278 if (descent > fDescent) {
279 fDescent = descent;
H A Dparagraph.cpp88 le_int32 descent = 0; local
133 if (pDescent > descent) {
134 descent = pDescent;
156 fLineHeight = ascent + descent + leading;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/
H A Dglx_usefont.c49 printf("%sascent = %d, descent = %d, attributes = %u\n",
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;
324 y0 = ch->descent - 0; /* XXX used to subtract 1 here */
/external/chromium_org/third_party/mesa/src/src/glx/
H A Dxfont.c55 printf("%sascent = %d, descent = %d, attributes = %u\n",
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;
327 y0 = ch->descent - 1;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
H A Dxfonts.c56 printf("%sascent = %d, descent = %d, attributes = %u\n",
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;
330 y0 = ch->descent - 0; /* XXX used to subtract 1 here */
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dglx_usefont.c49 printf("%sascent = %d, descent = %d, attributes = %u\n",
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;
324 y0 = ch->descent - 0; /* XXX used to subtract 1 here */
/external/mesa3d/src/glx/
H A Dxfont.c55 printf("%sascent = %d, descent = %d, attributes = %u\n",
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;
327 y0 = ch->descent - 1;
/external/mesa3d/src/mesa/drivers/x11/
H A Dxfonts.c56 printf("%sascent = %d, descent = %d, attributes = %u\n",
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;
330 y0 = ch->descent - 0; /* XXX used to subtract 1 here */
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DSimpleFontDataMac.mm212 float descent = -scaleEmToUnits(iDescent, unitsPerEm) * pointSize;
222 ascent += floorf(((ascent + descent) * 0.15f) + 0.5f);
225 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
229 if (descent < 3 && lineGap >= 3 && [familyName hasPrefix:@"Hiragino"]) {
230 lineGap -= 3 - descent;
231 descent = 3;
253 m_fontMetrics.setDescent(descent);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRootInlineBox.cpp719 static void setAscentAndDescent(int& ascent, int& descent, int newAscent, int newDescent, bool& ascentDescentSet) argument
724 descent = newDescent;
727 descent = max(descent, newDescent);
731 void RootInlineBox::ascentAndDescentForBox(InlineBox* box, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, int& ascent, int& descent, argument
741 descent = box->lineHeight() - ascent;
743 // Replaced elements always affect both the ascent and descent.
769 int usedFontDescent = fontMetrics.descent(baselineType());
774 setAscentAndDescent(ascent, descent, usedFontAscent, usedFontDescent, ascentDescentSet);
778 setAscentAndDescent(ascent, descent, usedFontAscentAndLeadin
[all...]
/external/chromium_org/ppapi/api/dev/
H A Dppb_font_dev.idl110 int32_t descent;
/external/chromium_org/ppapi/api/trusted/
H A Dppb_browser_font_trusted.idl112 int32_t descent;

Completed in 810 milliseconds

123