HomeSort by relevance Sort by last modified time
    Searched refs:glyphOverflow (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderCombineText.cpp 58 float RenderCombineText::width(unsigned from, unsigned length, const Font& font, float xPosition, TextDirection direction, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
69 return RenderText::width(from, length, font, xPosition, direction, fallbackFonts, glyphOverflow);
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);
    [all...]
RootInlineBox.cpp 627 GlyphOverflow* glyphOverflow = 0;
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->top, std::max(0, glyphOverflow->top - box->renderer().style(isFirst (…)
    [all...]
InlineFlowBox.cpp     [all...]
RenderBlockLineLayout.cpp 370 GlyphOverflow glyphOverflow;
384 glyphOverflow.computeBounds = true;
438 measuredWidth = renderer->width(run->m_start, run->m_stop - run->m_start, xPos, run->direction(), lineInfo.isFirstLine(), &fallbackFonts, &glyphOverflow);
443 GlyphOverflowAndFallbackFontsMap::ValueType* it = textBoxDataMap.add(toInlineTextBox(run->m_box), std::make_pair(Vector<const SimpleFontData*>(), GlyphOverflow())).storedValue;
448 if (!glyphOverflow.isZero()) {
450 GlyphOverflowAndFallbackFontsMap::ValueType* it = textBoxDataMap.add(toInlineTextBox(run->m_box), std::make_pair(Vector<const SimpleFontData*>(), GlyphOverflow())).storedValue;
451 it->value.second = glyphOverflow;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
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()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/line/
BreakingContextInlineHeaders.h 518 GlyphOverflow glyphOverflow;
520 return text->width(from, len, font, xPos, text->style()->direction(), fallbackFonts, &glyphOverflow);
527 return font.width(run, fallbackFonts, &glyphOverflow);
    [all...]

Completed in 306 milliseconds