Home
last modified time | relevance | path

Searched refs:glyphOverflow (Results 1 – 13 of 13) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/win/
DFontWin.cpp125 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForComplexText()
129 if (glyphOverflow) { in floatWidthForComplexText()
130glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (gly… in floatWidthForComplexText()
131glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) -… in floatWidthForComplexText()
132 glyphOverflow->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX())); in floatWidthForComplexText()
133glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.runWidthSo… in floatWidthForComplexText()
/external/webkit/Source/WebCore/platform/graphics/mac/
DFontComplexTextMac.cpp110 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForComplexText()
113 if (glyphOverflow) { in floatWidthForComplexText()
114glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (gly… in floatWidthForComplexText()
115glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) -… in floatWidthForComplexText()
116 glyphOverflow->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX())); in floatWidthForComplexText()
117glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth… in floatWidthForComplexText()
/external/webkit/Source/WebCore/rendering/
DRenderText.cpp613 …len, float xPos, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in widthFromCache()
621 …if (f.isFixedPitch() && !f.isSmallCaps() && m_isAllASCII && (!glyphOverflow || !glyphOverflow->com… in widthFromCache()
651 …width(TextRun(text()->characters() + start, len, allowTabs(), xPos), fallbackFonts, glyphOverflow); in widthFromCache()
767 GlyphOverflow glyphOverflow; in computePreferredLogicalWidths() local
768 computePreferredLogicalWidths(leadWidth, fallbackFonts, glyphOverflow); in computePreferredLogicalWidths()
769 …if (fallbackFonts.isEmpty() && !glyphOverflow.left && !glyphOverflow.right && !glyphOverflow.top &… in computePreferredLogicalWidths()
773 …idths(float leadWidth, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow& glyphOverflow) in computePreferredLogicalWidths() argument
850 … lastWordBoundary, i - lastWordBoundary, leadWidth + currMaxWidth, &fallbackFonts, &glyphOverflow); in computePreferredLogicalWidths()
852 firstGlyphLeftOverflow = glyphOverflow.left; in computePreferredLogicalWidths()
875 … float w = widthFromCache(f, i, wordLen, leadWidth + currMaxWidth, &fallbackFonts, &glyphOverflow); in computePreferredLogicalWidths()
[all …]
DRootInlineBox.cpp583 GlyphOverflow* glyphOverflow = 0; in ascentAndDescentForBox() local
587 glyphOverflow = it == textBoxDataMap.end() ? 0 : &it->second.second; in ascentAndDescentForBox()
642 if (includeGlyphsForBox(box) && glyphOverflow && glyphOverflow->computeBounds) { in ascentAndDescentForBox()
643 … setAscentAndDescent(ascent, descent, glyphOverflow->top, glyphOverflow->bottom, ascentDescentSet); in ascentAndDescentForBox()
644 affectsAscent = glyphOverflow->top - box->logicalTop() > 0; in ascentAndDescentForBox()
645 affectsDescent = glyphOverflow->bottom + box->logicalTop() > 0; in ascentAndDescentForBox()
646glyphOverflow->top = min(glyphOverflow->top, max(0, glyphOverflow->top - box->renderer()->style(m_… in ascentAndDescentForBox()
647glyphOverflow->bottom = min(glyphOverflow->bottom, max(0, glyphOverflow->bottom - box->renderer()-… in ascentAndDescentForBox()
DRenderCombineText.cpp56 …float xPosition, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in width()
64 return RenderText::width(from, length, font, xPosition, fallbackFonts, glyphOverflow); in width()
DInlineFlowBox.cpp753 GlyphOverflow* glyphOverflow = it == textBoxDataMap.end() ? 0 : &it->second.second; in addTextBoxVisualOverflow() local
756 …int topGlyphEdge = glyphOverflow ? (isFlippedLine ? glyphOverflow->bottom : glyphOverflow->top) : … in addTextBoxVisualOverflow()
757 …int bottomGlyphEdge = glyphOverflow ? (isFlippedLine ? glyphOverflow->top : glyphOverflow->bottom)… in addTextBoxVisualOverflow()
758 int leftGlyphEdge = glyphOverflow ? glyphOverflow->left : 0; in addTextBoxVisualOverflow()
759 int rightGlyphEdge = glyphOverflow ? glyphOverflow->right : 0; in addTextBoxVisualOverflow()
DRenderBlockLineLayout.cpp464 GlyphOverflow glyphOverflow; in computeInlineDirectionPositionsForLine() local
477 glyphOverflow.computeBounds = true; in computeInlineDirectionPositionsForLine()
485 …->m_stop - r->m_start, totalLogicalWidth, firstLine, &fallbackFonts, &glyphOverflow) + hyphenWidth… in computeInlineDirectionPositionsForLine()
493 … if ((glyphOverflow.top || glyphOverflow.bottom || glyphOverflow.left || glyphOverflow.right)) { in computeInlineDirectionPositionsForLine()
496 it->second.second = glyphOverflow; in computeInlineDirectionPositionsForLine()
/external/webkit/Source/WebCore/platform/graphics/
DFontFastPath.cpp449 …er* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForSimpleText()
451 WidthIterator it(this, run, fallbackFonts, glyphOverflow); in floatWidthForSimpleText()
454 if (glyphOverflow) { in floatWidthForSimpleText()
455glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-it.minGlyphBoundingBoxY()) - (glyphOverfl… in floatWidthForSimpleText()
456glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(it.maxGlyphBoundingBoxY()) - (glyphO… in floatWidthForSimpleText()
457 glyphOverflow->left = ceilf(it.firstGlyphOverflow()); in floatWidthForSimpleText()
458 glyphOverflow->right = ceilf(it.lastGlyphOverflow()); in floatWidthForSimpleText()
DFont.cpp168 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in width()
180 …codePathToUse == SimpleWithGlyphOverflow || (glyphOverflow && glyphOverflow->computeBounds) ? glyp… in width()
183 return floatWidthForComplexText(run, fallbackFonts, glyphOverflow); in width()
/external/webkit/Source/WebCore/platform/graphics/haiku/
DFontHaiku.cpp106 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForComplexText()
/external/webkit/Source/WebCore/platform/graphics/wince/
DFontWinCE.cpp243 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForComplexText()
/external/webkit/Source/WebCore/platform/graphics/qt/
DFontQt.cpp276 …er* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForSimpleText()
/external/webkit/Source/WebCore/
DChangeLog-2010-05-245430 and glyphOverflow(). Removed s_glyphOverflowAndFallbackFontsMap.
25369 (WebCore::Font::floatWidth): Added glyphOverflow parameter.
25372 (WebCore::Font::width): Added glyphOverflow parameter.
25455 (WebCore::InlineTextBox::glyphOverflow):