/external/webkit/Source/WebCore/platform/graphics/win/ |
D | FontWin.cpp | 125 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForComplexText() 129 if (glyphOverflow) { in floatWidthForComplexText() 130 …glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (gly… in floatWidthForComplexText() 131 …glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) -… in floatWidthForComplexText() 132 glyphOverflow->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX())); in floatWidthForComplexText() 133 …glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.runWidthSo… in floatWidthForComplexText()
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | FontComplexTextMac.cpp | 110 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForComplexText() 113 if (glyphOverflow) { in floatWidthForComplexText() 114 …glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (gly… in floatWidthForComplexText() 115 …glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) -… in floatWidthForComplexText() 116 glyphOverflow->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX())); in floatWidthForComplexText() 117 …glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth… in floatWidthForComplexText()
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderText.cpp | 613 …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 …]
|
D | RootInlineBox.cpp | 583 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() 646 …glyphOverflow->top = min(glyphOverflow->top, max(0, glyphOverflow->top - box->renderer()->style(m_… in ascentAndDescentForBox() 647 …glyphOverflow->bottom = min(glyphOverflow->bottom, max(0, glyphOverflow->bottom - box->renderer()-… in ascentAndDescentForBox()
|
D | RenderCombineText.cpp | 56 …float xPosition, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in width() 64 return RenderText::width(from, length, font, xPosition, fallbackFonts, glyphOverflow); in width()
|
D | InlineFlowBox.cpp | 753 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()
|
D | RenderBlockLineLayout.cpp | 464 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/ |
D | FontFastPath.cpp | 449 …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() 455 …glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-it.minGlyphBoundingBoxY()) - (glyphOverfl… in floatWidthForSimpleText() 456 …glyphOverflow->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()
|
D | Font.cpp | 168 …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/ |
D | FontHaiku.cpp | 106 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForComplexText()
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | FontWinCE.cpp | 243 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForComplexText()
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
D | FontQt.cpp | 276 …er* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForSimpleText()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2010-05-24 | 5430 and glyphOverflow(). Removed s_glyphOverflowAndFallbackFontsMap. 25369 (WebCore::Font::floatWidth): Added glyphOverflow parameter. 25372 (WebCore::Font::width): Added glyphOverflow parameter. 25455 (WebCore::InlineTextBox::glyphOverflow):
|