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

  /external/webkit/Source/WebCore/platform/graphics/mac/
FontComplexTextMac.cpp 110 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
113 if (glyphOverflow) {
114 glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent()));
115 glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent()));
116 glyphOverflow->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX()))
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/win/
FontWin.cpp 125 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
129 if (glyphOverflow) {
130 glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent()));
131 glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent()));
132 glyphOverflow->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX()))
    [all...]
  /external/webkit/Source/WebCore/rendering/
RenderCombineText.cpp 56 float RenderCombineText::width(unsigned from, unsigned length, const Font& font, float xPosition, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
64 return RenderText::width(from, length, font, xPosition, fallbackFonts, glyphOverflow);
RenderText.cpp 578 ALWAYS_INLINE float RenderText::widthFromCache(const Font& f, int start, int len, float xPos, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
586 if (f.isFixedPitch() && !f.isSmallCaps() && m_isAllASCII && (!glyphOverflow || !glyphOverflow->computeBounds)) {
616 return f.width(TextRun(text()->characters() + start, len, allowTabs(), xPos), fallbackFonts, glyphOverflow);
732 GlyphOverflow glyphOverflow;
733 computePreferredLogicalWidths(leadWidth, fallbackFonts, glyphOverflow);
734 if (fallbackFonts.isEmpty() && !glyphOverflow.left && !glyphOverflow.right && !glyphOverflow.top && !glyphOverflow.bottom
    [all...]
RootInlineBox.cpp 583 GlyphOverflow* glyphOverflow = 0;
587 glyphOverflow = it == textBoxDataMap.end() ? 0 : &it->second.second;
642 if (includeGlyphsForBox(box) && glyphOverflow && glyphOverflow->computeBounds) {
643 setAscentAndDescent(ascent, descent, glyphOverflow->top, glyphOverflow->bottom, ascentDescentSet);
644 affectsAscent = glyphOverflow->top - box->logicalTop() > 0;
645 affectsDescent = glyphOverflow->bottom + box->logicalTop() > 0;
646 glyphOverflow->top = min(glyphOverflow->top, max(0, glyphOverflow->top - box->renderer()->style(m_firstLine)->fo (…)
    [all...]
InlineFlowBox.cpp     [all...]
RenderBlockLineLayout.cpp 464 GlyphOverflow glyphOverflow;
477 glyphOverflow.computeBounds = true;
485 r->m_box->setLogicalWidth(rt->width(r->m_start, r->m_stop - r->m_start, totalLogicalWidth, firstLine, &fallbackFonts, &glyphOverflow) + hyphenWidth);
488 GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.add(static_cast<InlineTextBox*>(r->m_box), make_pair(Vector<const SimpleFontData*>(), GlyphOverflow())).first;
493 if ((glyphOverflow.top || glyphOverflow.bottom || glyphOverflow.left || glyphOverflow.right)) {
495 GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.add(static_cast<InlineTextBox*>(r->m_box), make_pair(Vector<const SimpleFontData*>(), GlyphOverflow())).first
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
FontFastPath.cpp 449 float Font::floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
451 WidthIterator it(this, run, fallbackFonts, glyphOverflow);
454 if (glyphOverflow) {
455 glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-it.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent()));
456 glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(it.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent()))
    [all...]
Font.cpp 168 float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
180 return floatWidthForSimpleText(run, 0, returnFallbackFonts ? fallbackFonts : 0, codePathToUse == SimpleWithGlyphOverflow || (glyphOverflow && glyphOverflow->computeBounds) ? glyphOverflow : 0);
183 return floatWidthForComplexText(run, fallbackFonts, glyphOverflow);
  /external/webkit/Source/WebCore/platform/graphics/haiku/
FontHaiku.cpp 106 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
  /external/webkit/Source/WebCore/platform/graphics/wince/
FontWinCE.cpp 243 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
  /external/webkit/Source/WebCore/platform/graphics/qt/
FontQt.cpp 276 float Font::floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
296 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>*, GlyphOverflow*) const

Completed in 605 milliseconds