/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | FontMetrics.h | 64 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 D | bookmark_bar_instructions_view.cc | 40 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 D | bookmark_bar_instructions_view.cc | 52 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 D | view-cairo.cc | 80 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 D | SimpleFontDataSkia.cpp | 86 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 D | SVGFontFaceElement.h | 47 int descent() const;
|
H A D | SVGFontFaceElement.cpp | 234 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 D | WebFontImpl.h | 48 virtual int descent() const;
|
H A D | WebFontImpl.cpp | 70 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 D | WebFont.h | 56 virtual int descent() const = 0;
|
/external/chromium_org/third_party/ots/src/ |
H A D | metrics.h | 18 int16_t descent; member in struct:ots::OpenTypeMetricsHeader
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
H A D | SimpleFontDataWin.cpp | 75 // 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 D | font_list.cc | 278 int descent = 0; local 283 descent = std::max(descent, i->GetHeight() - i->GetBaseline()); 285 common_height_ = ascent + descent;
|
/external/icu4c/samples/layout/ |
H A D | FontMap.cpp | 260 le_int32 ascent, descent, leading; local 271 descent = fFontInstances[i]->getDescent(); 278 if (descent > fDescent) { 279 fDescent = descent;
|
H A D | paragraph.cpp | 88 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 D | glx_usefont.c | 49 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 D | xfont.c | 55 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 D | xfonts.c | 56 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 D | glx_usefont.c | 49 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 D | xfont.c | 55 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 D | xfonts.c | 56 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 D | SimpleFontDataMac.mm | 212 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 D | RootInlineBox.cpp | 719 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 D | ppb_font_dev.idl | 110 int32_t descent;
|
/external/chromium_org/ppapi/api/trusted/ |
H A D | ppb_browser_font_trusted.idl | 112 int32_t descent;
|