Searched defs:glyphOverflow (Results 1 - 6 of 6) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
H A D | BreakingContextInlineHeaders.h | 518 GlyphOverflow glyphOverflow; local 520 return text->width(from, len, font, xPos, text->style()->direction(), fallbackFonts, &glyphOverflow); 527 return font.width(run, fallbackFonts, &glyphOverflow);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | Font.cpp | 142 const FontMetrics& fontMetrics, GlyphOverflow* glyphOverflow) 144 glyphOverflow->top = std::max<int>(glyphOverflow->top, 145 glyphBounds.top() - (glyphOverflow->computeBounds ? 0 : fontMetrics.ascent())); 146 glyphOverflow->bottom = std::max<int>(glyphOverflow->bottom, 147 glyphBounds.bottom() - (glyphOverflow->computeBounds ? 0 : fontMetrics.descent())); 148 glyphOverflow->left = glyphBounds.left(); 149 glyphOverflow->right = glyphBounds.right(); 152 float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) cons 141 updateGlyphOverflowFromBounds(const IntRectExtent& glyphBounds, const FontMetrics& fontMetrics, GlyphOverflow* glyphOverflow) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | InlineFlowBox.cpp | 868 GlyphOverflow* glyphOverflow = it == textBoxDataMap.end() ? 0 : &it->value.second; local 871 int topGlyphEdge = glyphOverflow ? (isFlippedLine ? glyphOverflow->bottom : glyphOverflow->top) : 0; 872 int bottomGlyphEdge = glyphOverflow ? (isFlippedLine ? glyphOverflow->top : glyphOverflow->bottom) : 0; 873 int leftGlyphEdge = glyphOverflow ? glyphOverflow->left : 0; 874 int rightGlyphEdge = glyphOverflow [all...] |
H A D | RootInlineBox.cpp | 627 GlyphOverflow* glyphOverflow = 0; local 631 glyphOverflow = it == textBoxDataMap.end() ? 0 : &it->value.second; 686 if (includeGlyphsForBox(box) && glyphOverflow && glyphOverflow->computeBounds) { 687 setAscentAndDescent(ascent, descent, glyphOverflow->top, glyphOverflow->bottom, ascentDescentSet); 688 affectsAscent = glyphOverflow->top - box->logicalTop() > 0; 689 affectsDescent = glyphOverflow->bottom + box->logicalTop() > 0; 690 glyphOverflow->top = std::min(glyphOverflow [all...] |
H A D | RenderBlockLineLayout.cpp | 370 GlyphOverflow glyphOverflow; local 384 glyphOverflow.computeBounds = true; 438 measuredWidth = renderer->width(run->m_start, run->m_stop - run->m_start, xPos, run->direction(), lineInfo.isFirstLine(), &fallbackFonts, &glyphOverflow); 448 if (!glyphOverflow.isZero()) { 451 it->value.second = glyphOverflow;
|
H A D | RenderText.cpp | 714 ALWAYS_INLINE float RenderText::widthFromCache(const Font& f, int start, int len, float xPos, TextDirection textDirection, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const 722 if (f.isFixedPitch() && f.fontDescription().variant() == FontVariantNormal && m_isAllASCII && (!glyphOverflow || !glyphOverflow->computeBounds)) { 762 return f.width(run, fallbackFonts, glyphOverflow); 876 GlyphOverflow glyphOverflow; local 877 computePreferredLogicalWidths(leadWidth, fallbackFonts, glyphOverflow); 880 ASSERT(!m_knownToHaveNoOverflowAndNoFallbackFonts || (fallbackFonts.isEmpty() && glyphOverflow.isZero())); 881 m_knownToHaveNoOverflowAndNoFallbackFonts = fallbackFonts.isEmpty() && glyphOverflow.isZero(); 890 void RenderText::computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow& glyphOverflow) argument 1000 currMaxWidth += widthFromCache(f, lastWordBoundary, i - lastWordBoundary, leadWidth + currMaxWidth, textDirection, &fallbackFonts, &glyphOverflow); [all...] |
Completed in 395 milliseconds