/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | FontComplexTextMac.cpp | 130 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForComplexText() 138 if (glyphOverflow) { in floatWidthForComplexText() 139 …glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (gly… in floatWidthForComplexText() 140 …glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) -… in floatWidthForComplexText() 141 glyphOverflow->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX())); in floatWidthForComplexText() 142 …glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth… in floatWidthForComplexText()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderText.cpp | 723 …len, float xPos, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in widthFromCache() 731 …if (f.isFixedPitch() && !f.isSmallCaps() && m_isAllASCII && (!glyphOverflow || !glyphOverflow->com… in widthFromCache() 770 return f.width(run, fallbackFonts, glyphOverflow); in widthFromCache() 883 GlyphOverflow glyphOverflow; in computePreferredLogicalWidths() local 884 computePreferredLogicalWidths(leadWidth, fallbackFonts, glyphOverflow); in computePreferredLogicalWidths() 885 …if (fallbackFonts.isEmpty() && !glyphOverflow.left && !glyphOverflow.right && !glyphOverflow.top &… in computePreferredLogicalWidths() 895 …idths(float leadWidth, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow& glyphOverflow) in computePreferredLogicalWidths() argument 982 … lastWordBoundary, i - lastWordBoundary, leadWidth + currMaxWidth, &fallbackFonts, &glyphOverflow); in computePreferredLogicalWidths() 984 firstGlyphLeftOverflow = glyphOverflow.left; in computePreferredLogicalWidths() 1010 …omCache(f, i, wordLen + 1, leadWidth + currMaxWidth, &fallbackFonts, &glyphOverflow) - wordTrailin… in computePreferredLogicalWidths() [all …]
|
D | RootInlineBox.cpp | 751 GlyphOverflow* glyphOverflow = 0; in ascentAndDescentForBox() local 755 glyphOverflow = it == textBoxDataMap.end() ? 0 : &it->value.second; in ascentAndDescentForBox() 810 if (includeGlyphsForBox(box) && glyphOverflow && glyphOverflow->computeBounds) { in ascentAndDescentForBox() 811 … setAscentAndDescent(ascent, descent, glyphOverflow->top, glyphOverflow->bottom, ascentDescentSet); in ascentAndDescentForBox() 812 affectsAscent = glyphOverflow->top - box->logicalTop() > 0; in ascentAndDescentForBox() 813 affectsDescent = glyphOverflow->bottom + box->logicalTop() > 0; in ascentAndDescentForBox() 814 …glyphOverflow->top = min(glyphOverflow->top, max(0, glyphOverflow->top - box->renderer()->style(is… in ascentAndDescentForBox() 815 …glyphOverflow->bottom = min(glyphOverflow->bottom, max(0, glyphOverflow->bottom - box->renderer()-… in ascentAndDescentForBox()
|
D | RenderCombineText.cpp | 58 …float xPosition, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in width() 66 return RenderText::width(from, length, font, xPosition, fallbackFonts, glyphOverflow); in width()
|
D | InlineFlowBox.cpp | 840 GlyphOverflow* glyphOverflow = it == textBoxDataMap.end() ? 0 : &it->value.second; in addTextBoxVisualOverflow() local 843 …int topGlyphEdge = glyphOverflow ? (isFlippedLine ? glyphOverflow->bottom : glyphOverflow->top) : … in addTextBoxVisualOverflow() 844 …int bottomGlyphEdge = glyphOverflow ? (isFlippedLine ? glyphOverflow->top : glyphOverflow->bottom)… in addTextBoxVisualOverflow() 845 int leftGlyphEdge = glyphOverflow ? glyphOverflow->left : 0; in addTextBoxVisualOverflow() 846 int rightGlyphEdge = glyphOverflow ? glyphOverflow->right : 0; in addTextBoxVisualOverflow()
|
D | RenderBlockLineLayout.cpp | 449 GlyphOverflow glyphOverflow; in setLogicalWidthForTextRun() local 463 glyphOverflow.computeBounds = true; in setLogicalWidthForTextRun() 517 …m_start, run->m_stop - run->m_start, xPos, lineInfo.isFirstLine(), &fallbackFonts, &glyphOverflow); in setLogicalWidthForTextRun() 527 if ((glyphOverflow.top || glyphOverflow.bottom || glyphOverflow.left || glyphOverflow.right)) { in setLogicalWidthForTextRun() 530 it->value.second = glyphOverflow; in setLogicalWidthForTextRun()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | FontFastPath.cpp | 536 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForSimpleText() 538 WidthIterator it(this, run, fallbackFonts, glyphOverflow); in floatWidthForSimpleText() 542 if (glyphOverflow) { in floatWidthForSimpleText() 543 …glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-it.minGlyphBoundingBoxY()) - (glyphOverfl… in floatWidthForSimpleText() 544 …glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(it.maxGlyphBoundingBoxY()) - (glyphO… in floatWidthForSimpleText() 545 glyphOverflow->left = ceilf(it.firstGlyphOverflow()); in floatWidthForSimpleText() 546 glyphOverflow->right = ceilf(it.lastGlyphOverflow()); in floatWidthForSimpleText()
|
D | Font.cpp | 205 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in width() 213 … if (codePathToUse != SimpleWithGlyphOverflow && (glyphOverflow && !glyphOverflow->computeBounds)) in width() 214 glyphOverflow = 0; in width() 219 …c_limits<float>::quiet_NaN(), hasKerningOrLigatures, hasWordSpacingOrLetterSpacing, glyphOverflow); in width() 225 result = floatWidthForComplexText(run, fallbackFonts, glyphOverflow); in width() 227 result = floatWidthForSimpleText(run, fallbackFonts, glyphOverflow); in width()
|
D | WidthCache.h | 122 …ntry, bool hasKerningOrLigatures, bool hasWordSpacingOrLetterSpacing, GlyphOverflow* glyphOverflow) in add() argument 131 if (glyphOverflow) in add()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
D | BreakingContextInlineHeaders.h | 703 GlyphOverflow glyphOverflow; variable 705 return text->width(from, len, font, xPos, fallbackFonts, &glyphOverflow); 717 return font.width(run, fallbackFonts, &glyphOverflow);
|