/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
H A D | FontMetrics.h | 55 void setAscent(float ascent) { m_ascent = ascent; } argument 88 int ascent(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 46 ascent = std::max(ascent, baseline); 54 if (ascent != 0) 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 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/platform/graphics/chromium/ |
H A D | FontUtilsChromiumWin.h | 64 // calculate the ascent for the derived HFONT, and initialize SCRIPT_CACHE 70 // Returns false if the font is not accessible, in which case |ascent| field 81 bool getDerivedFontData(const UChar* family, int style, LOGFONT*, int* ascent, HFONT*, SCRIPT_CACHE**, WORD* spaceGlyph);
|
H A D | UniscribeHelperTextRun.cpp | 62 setAscent(font.fontMetrics().ascent()); 99 int& ascent, 134 m_ascents.append(simpleFontData->fontMetrics().ascent()); 141 ascent = m_ascents[m_fontIndex - 1]; 95 nextWinFontData( HFONT& hfont, SCRIPT_CACHE*& scriptCache, SCRIPT_FONTPROPERTIES*& fontProperties, int& ascent, WORD& spaceGlyph) argument
|
H A D | FontUtilsChromiumWin.cpp | 240 // Given an HFONT, return the ascent. If GetTextMetrics fails, 268 , ascent(kUndefinedAscent) 275 int ascent; member in struct:WebCore::__anon10280::FontData 394 int* ascent, 425 derived->ascent = getAscent(derived->hfont); 432 if (kUndefinedAscent == derived->ascent) 433 derived->ascent = getAscent(derived->hfont); 438 *ascent = derived->ascent; 441 return *ascent ! 391 getDerivedFontData(const UChar* family, int style, LOGFONT* logfont, int* ascent, HFONT* hfont, SCRIPT_CACHE** scriptCache, WORD* spaceGlyph) argument [all...] |
H A D | SimpleFontDataChromiumWin.cpp | 75 // FIXME: Access ascent/descent/lineGap with floating point precision. 76 float ascent = textMetric.tmAscent; local 79 float xHeight = ascent * 0.56f; // Best guess for xHeight for non-Truetype fonts. 93 m_fontMetrics.setAscent(ascent); 97 m_fontMetrics.setLineSpacing(ascent + descent + lineGap);
|
H A D | UniscribeHelperTextRun.h | 70 virtual bool nextWinFontData(HFONT&, SCRIPT_CACHE*&, SCRIPT_FONTPROPERTIES*&, int& ascent, WORD& spaceGlyph);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/ |
H A D | SimpleFontDataSkia.cpp | 83 float ascent; local 87 // metrics *exactly* (except the adjustment of ascent/descent on Linux/Android). 89 ascent = vdmxAscent; 93 ascent = SkScalarRound(-metrics.fAscent); 94 descent = SkScalarRound(height) - ascent; 98 // To avoid that, borrow 1 unit from the ascent when possible. 99 // FIXME: This can be removed if sub-pixel ascent/descent is supported. 100 if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) { 102 --ascent; 107 m_fontMetrics.setAscent(ascent); [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;
|
H A D | WebFontImpl.cpp | 66 int WebFontImpl::ascent() const function in class:WebKit::WebFontImpl 68 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 | 77 float ascent = svgFontFaceElement->ascent() * scale; local 86 xHeight = letterXGlyph ? fontData->widthForGlyph(letterXGlyph) : 2 * ascent / 3; 91 fontMetrics.setAscent(ascent); 94 fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap)); 101 fontData->setMaxCharWidth(ascent); 116 fontData->setMaxCharWidth(letterWGlyph ? fontData->widthForGlyph(letterWGlyph) : ascent);
|
H A D | SVGFontFaceElement.h | 46 int ascent() const;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | EllipsisBox.cpp | 76 FloatPoint textOrigin(boxOrigin.x(), boxOrigin.y() + style->fontMetrics().ascent()); 119 y() + style->fontMetrics().ascent() - (markupBox->y() + markupBox->renderer()->style(isFirstLineStyle())->fontMetrics().ascent())); 161 LayoutUnit mty = adjustedLocation.y() + style->fontMetrics().ascent() - (markupBox->y() + markupBox->renderer()->style(isFirstLineStyle())->fontMetrics().ascent());
|
H A D | RootInlineBox.cpp | 368 LayoutUnit lineGridFontAscent = lineGrid->style()->fontMetrics().ascent(baselineType()); 375 LayoutUnit currentFontAscent = block()->style()->fontMetrics().ascent(baselineType()); 719 static void setAscentAndDescent(int& ascent, int& descent, int newAscent, int newDescent, bool& ascentDescentSet) argument 723 ascent = newAscent; 726 ascent = max(ascent, newAscent); 731 void RootInlineBox::ascentAndDescentForBox(InlineBox* box, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, int& ascent, int& descent, argument 740 ascent = box->baselinePosition(baselineType()); 741 descent = box->lineHeight() - ascent; 743 // Replaced elements always affect both the ascent an [all...] |
/external/chromium_org/ui/gfx/ |
H A D | font_list.cc | 250 int ascent = 0; local 255 ascent = std::max(ascent, i->GetBaseline()); 258 common_height_ = ascent + descent; 259 common_baseline_ = ascent;
|
/external/icu4c/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/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;
|