Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DFontComplexTextMac.cpp130 …st TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in floatWidthForComplexText()
138 if (glyphOverflow) { in floatWidthForComplexText()
139glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (gly… in floatWidthForComplexText()
140glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) -… in floatWidthForComplexText()
141 glyphOverflow->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX())); in floatWidthForComplexText()
142glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth… in floatWidthForComplexText()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderText.cpp723 …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 …]
DRootInlineBox.cpp751 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()
814glyphOverflow->top = min(glyphOverflow->top, max(0, glyphOverflow->top - box->renderer()->style(is… in ascentAndDescentForBox()
815glyphOverflow->bottom = min(glyphOverflow->bottom, max(0, glyphOverflow->bottom - box->renderer()-… in ascentAndDescentForBox()
DRenderCombineText.cpp58 …float xPosition, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const in width()
66 return RenderText::width(from, length, font, xPosition, fallbackFonts, glyphOverflow); in width()
DInlineFlowBox.cpp840 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()
DRenderBlockLineLayout.cpp449 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/
DFontFastPath.cpp536 …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()
543glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-it.minGlyphBoundingBoxY()) - (glyphOverfl… in floatWidthForSimpleText()
544glyphOverflow->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()
DFont.cpp205 …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()
DWidthCache.h122 …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/
DBreakingContextInlineHeaders.h703 GlyphOverflow glyphOverflow; variable
705 return text->width(from, len, font, xPos, fallbackFonts, &glyphOverflow);
717 return font.width(run, fallbackFonts, &glyphOverflow);