fontMetrics 615 Source/core/css/CSSPrimitiveValue.cpp if (style.fontMetrics().hasXHeight()) fontMetrics 616 Source/core/css/CSSPrimitiveValue.cpp factor = style.fontMetrics().xHeight(); fontMetrics 627 Source/core/css/CSSPrimitiveValue.cpp factor = style.fontMetrics().zeroWidth(); fontMetrics 2148 Source/core/html/canvas/CanvasRenderingContext2D.cpp const FontMetrics& fontMetrics = font.fontMetrics(); fontMetrics 2149 Source/core/html/canvas/CanvasRenderingContext2D.cpp const float ascent = fontMetrics.floatAscent(); fontMetrics 2150 Source/core/html/canvas/CanvasRenderingContext2D.cpp const float descent = fontMetrics.floatDescent(); fontMetrics 2151 Source/core/html/canvas/CanvasRenderingContext2D.cpp const float baselineY = getFontBaseline(fontMetrics); fontMetrics 2212 Source/core/html/canvas/CanvasRenderingContext2D.cpp const FontMetrics& fontMetrics = font.fontMetrics(); fontMetrics 2226 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatPoint location(x, y + getFontBaseline(fontMetrics)); fontMetrics 2252 Source/core/html/canvas/CanvasRenderingContext2D.cpp textRunPaintInfo.bounds = FloatRect(location.x() - fontMetrics.height() / 2, fontMetrics 2253 Source/core/html/canvas/CanvasRenderingContext2D.cpp location.y() - fontMetrics.ascent() - fontMetrics.lineGap(), fontMetrics 2254 Source/core/html/canvas/CanvasRenderingContext2D.cpp width + fontMetrics.height(), fontMetrics 2255 Source/core/html/canvas/CanvasRenderingContext2D.cpp fontMetrics.lineSpacing()); fontMetrics 2300 Source/core/html/canvas/CanvasRenderingContext2D.cpp int CanvasRenderingContext2D::getFontBaseline(const FontMetrics& fontMetrics) const fontMetrics 2304 Source/core/html/canvas/CanvasRenderingContext2D.cpp return fontMetrics.ascent(); fontMetrics 2308 Source/core/html/canvas/CanvasRenderingContext2D.cpp return (fontMetrics.ascent() * 4) / 5; fontMetrics 2311 Source/core/html/canvas/CanvasRenderingContext2D.cpp return -fontMetrics.descent(); fontMetrics 2313 Source/core/html/canvas/CanvasRenderingContext2D.cpp return -fontMetrics.descent() + fontMetrics.height() / 2; fontMetrics 50 Source/core/rendering/EllipsisBox.cpp FloatPoint textOrigin = FloatPoint(boxOrigin.x(), boxOrigin.y() + font.fontMetrics().ascent()); fontMetrics 124 Source/core/rendering/EllipsisBox.cpp y() + style->fontMetrics().ascent() - (markupBox->y() + markupBox->renderer().style(isFirstLineStyle())->fontMetrics().ascent())); fontMetrics 167 Source/core/rendering/EllipsisBox.cpp LayoutUnit mty = adjustedLocation.y() + style->fontMetrics().ascent() - (markupBox->y() + markupBox->renderer().style(isFirstLineStyle())->fontMetrics().ascent()); fontMetrics 126 Source/core/rendering/InlineBox.cpp return m_bitfields.isText() ? renderer().style(isFirstLineStyle())->fontMetrics().height() : 0; fontMetrics 132 Source/core/rendering/InlineBox.cpp const FontMetrics& fontMetrics = renderer().style(isFirstLineStyle())->fontMetrics(); fontMetrics 133 Source/core/rendering/InlineBox.cpp float result = fontMetrics.height(); fontMetrics 128 Source/core/rendering/InlineFlowBox.cpp if (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics()) fontMetrics 145 Source/core/rendering/InlineFlowBox.cpp || !parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics()) fontMetrics 606 Source/core/rendering/InlineFlowBox.cpp const FontMetrics& fontMetrics = renderer().style(isFirstLineStyle())->fontMetrics(); fontMetrics 609 Source/core/rendering/InlineFlowBox.cpp setLogicalTop(roundToInt(top + maxAscent - fontMetrics.ascent(baselineType))); fontMetrics 648 Source/core/rendering/InlineFlowBox.cpp const FontMetrics& fontMetrics = curr->renderer().style(isFirstLineStyle())->fontMetrics(); fontMetrics 649 Source/core/rendering/InlineFlowBox.cpp newLogicalTop += curr->baselinePosition(baselineType) - fontMetrics.ascent(baselineType); fontMetrics 629 Source/core/rendering/InlineTextBox.cpp FloatPoint textOrigin = FloatPoint(boxOrigin.x(), boxOrigin.y() + font.fontMetrics().ascent()); fontMetrics 685 Source/core/rendering/InlineTextBox.cpp emphasisMarkOffset = emphasisMarkPosition == TextEmphasisPositionOver ? -font.fontMetrics().ascent() - font.emphasisMarkDescent(emphasisMark) : font.fontMetrics().descent() + font.emphasisMarkAscent(emphasisMark); fontMetrics 705 Source/core/rendering/InlineTextBox.cpp FloatPoint emphasisMarkTextOrigin = combinedText ? FloatPoint(boxOrigin.x() + boxRect.width() / 2, boxOrigin.y() + font.fontMetrics().ascent()) : textOrigin; fontMetrics 739 Source/core/rendering/InlineTextBox.cpp FloatPoint emphasisMarkTextOrigin = combinedText ? FloatPoint(boxOrigin.x() + boxRect.width() / 2, boxOrigin.y() + font.fontMetrics().ascent()) : textOrigin; fontMetrics 919 Source/core/rendering/InlineTextBox.cpp static int computeUnderlineOffset(const TextUnderlinePosition underlinePosition, const FontMetrics& fontMetrics, const InlineTextBox* inlineTextBox, const float textDecorationThickness) fontMetrics 928 Source/core/rendering/InlineTextBox.cpp return fontMetrics.ascent() + gap; // Position underline near the alphabetic baseline. fontMetrics 939 Source/core/rendering/InlineTextBox.cpp return fontMetrics.ascent() + gap; fontMetrics 1125 Source/core/rendering/InlineTextBox.cpp int baseline = styleToUse->fontMetrics().ascent(); fontMetrics 1132 Source/core/rendering/InlineTextBox.cpp float textDecorationThickness = styleToUse->fontMetrics().underlineThickness(); fontMetrics 1133 Source/core/rendering/InlineTextBox.cpp int fontHeightInt = (int)(styleToUse->fontMetrics().floatHeight() + 0.5); fontMetrics 1178 Source/core/rendering/InlineTextBox.cpp const int underlineOffset = computeUnderlineOffset(styleToUse->textUnderlinePosition(), styleToUse->fontMetrics(), this, textDecorationThickness); fontMetrics 1259 Source/core/rendering/InlineTextBox.cpp int baseline = renderer().style(isFirstLineStyle())->fontMetrics().ascent(); fontMetrics 1386 Source/core/rendering/InlineTextBox.cpp int baseline = renderer().style(isFirstLineStyle())->fontMetrics().ascent(); fontMetrics 3774 Source/core/rendering/RenderBlock.cpp const FontMetrics& fontMetrics = style(firstLine)->fontMetrics(); fontMetrics 3775 Source/core/rendering/RenderBlock.cpp return fontMetrics.ascent(baselineType) + (lineHeight(firstLine, direction, linePositionMode) - fontMetrics.height()) / 2; fontMetrics 3796 Source/core/rendering/RenderBlock.cpp return firstLineBox()->logicalTop() + style(true)->fontMetrics().ascent(firstRootBox()->baselineType()); fontMetrics 3830 Source/core/rendering/RenderBlock.cpp const FontMetrics& fontMetrics = firstLineStyle()->fontMetrics(); fontMetrics 3831 Source/core/rendering/RenderBlock.cpp return fontMetrics.ascent() fontMetrics 3832 Source/core/rendering/RenderBlock.cpp + (lineHeight(true, lineDirection, PositionOfInteriorLineBoxes) - fontMetrics.height()) / 2 fontMetrics 3836 Source/core/rendering/RenderBlock.cpp return lastLineBox()->logicalTop() + style(lastLineBox() == firstLineBox())->fontMetrics().ascent(lastRootBox()->baselineType()); fontMetrics 3849 Source/core/rendering/RenderBlock.cpp const FontMetrics& fontMetrics = firstLineStyle()->fontMetrics(); fontMetrics 3850 Source/core/rendering/RenderBlock.cpp return fontMetrics.ascent() fontMetrics 3851 Source/core/rendering/RenderBlock.cpp + (lineHeight(true, lineDirection, PositionOfInteriorLineBoxes) - fontMetrics.height()) / 2 fontMetrics 431 Source/core/rendering/RenderBlockLineLayout.cpp int rootDescent = includeRootLine ? font.fontMetrics().descent() : 0; fontMetrics 432 Source/core/rendering/RenderBlockLineLayout.cpp int rootAscent = includeRootLine ? font.fontMetrics().ascent() : 0; fontMetrics 433 Source/core/rendering/RenderBlockLineLayout.cpp int boxAscent = font.fontMetrics().ascent() - baselineShift; fontMetrics 434 Source/core/rendering/RenderBlockLineLayout.cpp int boxDescent = font.fontMetrics().descent() + baselineShift; fontMetrics 4001 Source/core/rendering/RenderBox.cpp LayoutUnit fontHeight = style()->fontMetrics().height(); fontMetrics 151 Source/core/rendering/RenderEmbeddedObject.cpp const FontMetrics& fontMetrics = font.fontMetrics(); fontMetrics 153 Source/core/rendering/RenderEmbeddedObject.cpp float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - fontMetrics.height()) / 2 + fontMetrics.ascent()); fontMetrics 135 Source/core/rendering/RenderFileUploadControl.cpp textRunPaintInfo.bounds = FloatRect(textX.toFloat(), textY.toFloat() - style()->fontMetrics().ascent(), fontMetrics 136 Source/core/rendering/RenderFileUploadControl.cpp textWidth, style()->fontMetrics().height()); fontMetrics 133 Source/core/rendering/RenderImage.cpp IntSize paddedTextSize(paddingWidth + min(ceilf(font.width(RenderBlockFlow::constructTextRun(this, font, m_altText, style()))), maxAltTextWidth), paddingHeight + min(font.fontMetrics().height(), maxAltTextHeight)); fontMetrics 345 Source/core/rendering/RenderImage.cpp const FontMetrics& fontMetrics = font.fontMetrics(); fontMetrics 346 Source/core/rendering/RenderImage.cpp LayoutUnit ascent = fontMetrics.ascent(); fontMetrics 356 Source/core/rendering/RenderImage.cpp textRunPaintInfo.bounds = FloatRect(textRectOrigin, FloatSize(textWidth, fontMetrics.height())); fontMetrics 363 Source/core/rendering/RenderImage.cpp if (usableWidth >= textWidth && fontMetrics.height() <= imageOffset.height()) fontMetrics 365 Source/core/rendering/RenderImage.cpp } else if (usableWidth >= textWidth && usableHeight >= fontMetrics.height()) { fontMetrics 217 Source/core/rendering/RenderInline.cpp || (checkFonts && (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(style()->font().fontMetrics()) fontMetrics 224 Source/core/rendering/RenderInline.cpp alwaysCreateLineBoxes = !parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics()) fontMetrics 562 Source/core/rendering/RenderInline.cpp int logicalTop = rootBox.logicalTop() + (rootBox.renderer().style(rootBox.isFirstLineStyle())->font().fontMetrics().ascent() - container->style(rootBox.isFirstLineStyle())->font().fontMetrics().ascent()); fontMetrics 563 Source/core/rendering/RenderInline.cpp int logicalHeight = container->style(rootBox.isFirstLineStyle())->font().fontMetrics().height(); fontMetrics 577 Source/core/rendering/RenderInline.cpp int logicalTop = rootBox.logicalTop() + (rootBox.renderer().style(rootBox.isFirstLineStyle())->font().fontMetrics().ascent() - container->style(rootBox.isFirstLineStyle())->font().fontMetrics().ascent()); fontMetrics 578 Source/core/rendering/RenderInline.cpp int logicalHeight = container->style(rootBox.isFirstLineStyle())->font().fontMetrics().height(); fontMetrics 595 Source/core/rendering/RenderInline.cpp int logicalTop = rootBox.logicalTop() + (rootBox.renderer().style(rootBox.isFirstLineStyle())->font().fontMetrics().ascent() - container->style(rootBox.isFirstLineStyle())->font().fontMetrics().ascent()); fontMetrics 596 Source/core/rendering/RenderInline.cpp int logicalHeight = container->style(rootBox.isFirstLineStyle())->font().fontMetrics().height(); fontMetrics 1298 Source/core/rendering/RenderInline.cpp const FontMetrics& fontMetrics = style(firstLine)->fontMetrics(); fontMetrics 1299 Source/core/rendering/RenderInline.cpp return fontMetrics.ascent(baselineType) + (lineHeight(firstLine, direction, linePositionMode) - fontMetrics.height()) / 2; fontMetrics 392 Source/core/rendering/RenderListBox.cpp LayoutSize offset = LayoutSize(0, itemFont.fontMetrics().ascent()); fontMetrics 666 Source/core/rendering/RenderListBox.cpp return style()->fontMetrics().height() + rowSpacing; fontMetrics 1283 Source/core/rendering/RenderListMarker.cpp IntPoint textOrigin = IntPoint(marker.x(), marker.y() + style()->fontMetrics().ascent()); fontMetrics 1332 Source/core/rendering/RenderListMarker.cpp setLogicalHeight(style()->fontMetrics().height()); fontMetrics 1378 Source/core/rendering/RenderListMarker.cpp int bulletWidth = style()->fontMetrics().ascent() / 2; fontMetrics 1503 Source/core/rendering/RenderListMarker.cpp logicalWidth = (font.fontMetrics().ascent() * 2 / 3 + 1) / 2 + 2; fontMetrics 1601 Source/core/rendering/RenderListMarker.cpp const FontMetrics& fontMetrics = style()->fontMetrics(); fontMetrics 1614 Source/core/rendering/RenderListMarker.cpp marginEnd = fontMetrics.ascent() - minPreferredLogicalWidth() + 1; fontMetrics 1624 Source/core/rendering/RenderListMarker.cpp int offset = fontMetrics.ascent() * 2 / 3; fontMetrics 1642 Source/core/rendering/RenderListMarker.cpp int offset = fontMetrics.ascent() * 2 / 3; fontMetrics 1716 Source/core/rendering/RenderListMarker.cpp relativeRect = IntRect(0, 0, font.width(m_text), font.fontMetrics().height()); fontMetrics 1723 Source/core/rendering/RenderListMarker.cpp const FontMetrics& fontMetrics = style()->fontMetrics(); fontMetrics 1724 Source/core/rendering/RenderListMarker.cpp int ascent = fontMetrics.ascent(); fontMetrics 1812 Source/core/rendering/RenderListMarker.cpp relativeRect = IntRect(0, 0, itemWidth + suffixSpaceWidth, font.fontMetrics().height()); fontMetrics 372 Source/core/rendering/RenderTextControlSingleLine.cpp if (textBlockStyle->fontMetrics().lineSpacing() > lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes)) fontMetrics 650 Source/core/rendering/RootInlineBox.cpp const FontMetrics& fontMetrics = usedFonts->at(i)->fontMetrics(); fontMetrics 651 Source/core/rendering/RootInlineBox.cpp int usedFontAscent = fontMetrics.ascent(baselineType()); fontMetrics 652 Source/core/rendering/RootInlineBox.cpp int usedFontDescent = fontMetrics.descent(baselineType()); fontMetrics 653 Source/core/rendering/RootInlineBox.cpp int halfLeading = (fontMetrics.lineSpacing() - fontMetrics.height()) / 2; fontMetrics 655 Source/core/rendering/RootInlineBox.cpp int usedFontDescentAndLeading = fontMetrics.lineSpacing() - usedFontAscentAndLeading; fontMetrics 686 Source/core/rendering/RootInlineBox.cpp int fontAscent = box->renderer().style(isFirstLineStyle())->fontMetrics().ascent(baselineType()); fontMetrics 687 Source/core/rendering/RootInlineBox.cpp int fontDescent = box->renderer().style(isFirstLineStyle())->fontMetrics().descent(baselineType()); fontMetrics 697 Source/core/rendering/RootInlineBox.cpp glyphOverflow->top = min(glyphOverflow->top, max(0, glyphOverflow->top - box->renderer().style(isFirstLineStyle())->fontMetrics().ascent(baselineType()))); fontMetrics 698 Source/core/rendering/RootInlineBox.cpp glyphOverflow->bottom = min(glyphOverflow->bottom, max(0, glyphOverflow->bottom - box->renderer().style(isFirstLineStyle())->fontMetrics().descent(baselineType()))); fontMetrics 702 Source/core/rendering/RootInlineBox.cpp LayoutUnit ascentWithMargin = box->renderer().style(isFirstLineStyle())->fontMetrics().ascent(baselineType()); fontMetrics 703 Source/core/rendering/RootInlineBox.cpp LayoutUnit descentWithMargin = box->renderer().style(isFirstLineStyle())->fontMetrics().descent(baselineType()); fontMetrics 750 Source/core/rendering/RootInlineBox.cpp const FontMetrics& fontMetrics = font.fontMetrics(); fontMetrics 760 Source/core/rendering/RootInlineBox.cpp verticalPosition += renderer->baselinePosition(baselineType(), firstLine, lineDirection) - fontMetrics.ascent(baselineType()); fontMetrics 762 Source/core/rendering/RootInlineBox.cpp verticalPosition = (verticalPosition - static_cast<LayoutUnit>(fontMetrics.xHeight() / 2) - renderer->lineHeight(firstLine, lineDirection) / 2 + renderer->baselinePosition(baselineType(), firstLine, lineDirection)).round(); fontMetrics 764 Source/core/rendering/RootInlineBox.cpp verticalPosition += fontMetrics.descent(baselineType()); fontMetrics 185 Source/core/rendering/line/BreakingContextInlineHeaders.h || !parent->style()->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(flow->style()->font().fontMetrics()))) fontMetrics 1182 Source/core/rendering/style/RenderStyle.cpp const FontMetrics& RenderStyle::fontMetrics() const { return inherited->font.fontMetrics(); } fontMetrics 1223 Source/core/rendering/style/RenderStyle.cpp return fontMetrics().lineSpacing(); fontMetrics 567 Source/core/rendering/style/RenderStyle.h const FontMetrics& fontMetrics() const; fontMetrics 162 Source/core/rendering/svg/RenderSVGInlineText.cpp float baseline = m_scaledFont.fontMetrics().floatAscent(); fontMetrics 131 Source/core/rendering/svg/SVGInlineTextBox.cpp const FontMetrics& scaledFontMetrics = scaledFont.fontMetrics(); fontMetrics 491 Source/core/rendering/svg/SVGInlineTextBox.cpp static inline float positionOffsetForDecoration(TextDecoration decoration, const FontMetrics& fontMetrics, float thickness) fontMetrics 496 Source/core/rendering/svg/SVGInlineTextBox.cpp return fontMetrics.floatAscent() + thickness * 1.5f; fontMetrics 500 Source/core/rendering/svg/SVGInlineTextBox.cpp return fontMetrics.floatAscent() * 5 / 8.0f; fontMetrics 581 Source/core/rendering/svg/SVGInlineTextBox.cpp const FontMetrics& scaledFontMetrics = scaledFont.fontMetrics(); fontMetrics 759 Source/core/rendering/svg/SVGInlineTextBox.cpp float baseline = textRenderer.scaledFont().fontMetrics().floatAscent() / scalingFactor; fontMetrics 53 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp return -m_font.fontMetrics().floatHeight() / 2; fontMetrics 55 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp return m_font.fontMetrics().floatHeight() / 2; fontMetrics 126 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp const FontMetrics& fontMetrics = m_font.fontMetrics(); fontMetrics 134 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp return fontMetrics.floatAscent(); fontMetrics 136 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp return fontMetrics.xHeight() / 2; fontMetrics 138 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp return (fontMetrics.floatAscent() - fontMetrics.floatDescent()) / 2; fontMetrics 142 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp return fontMetrics.floatDescent(); fontMetrics 146 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp return fontMetrics.floatAscent() * 8 / 10.f; fontMetrics 148 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp return fontMetrics.floatAscent() / 2; fontMetrics 198 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp const FontMetrics& fontMetrics = m_font.fontMetrics(); fontMetrics 202 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp float ascentMinusDescent = fontMetrics.floatAscent() - fontMetrics.floatDescent(); fontMetrics 205 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp yOrientationShift = fontMetrics.floatAscent(); fontMetrics 225 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp yOrientationShift = -fontMetrics.floatAscent(); fontMetrics 76 Source/core/rendering/svg/SVGTextLayoutEngineSpacing.cpp kerning *= m_font.fontDescription().computedSize() / m_font.fontMetrics().unitsPerEm(); fontMetrics 57 Source/core/rendering/svg/SVGTextMetrics.cpp m_height = scaledFont.fontMetrics().floatHeight() / scalingFactor; fontMetrics 112 Source/core/rendering/svg/SVGTextMetrics.cpp m_height = text->scaledFont().fontMetrics().floatHeight() / scalingFactor; fontMetrics 465 Source/core/rendering/svg/SVGTextQuery.cpp extent.setLocation(FloatPoint(fragment.x, fragment.y - queryData->textRenderer->scaledFont().fontMetrics().floatAscent() / scalingFactor)); fontMetrics 92 Source/core/svg/SVGFontData.cpp FontMetrics& fontMetrics = fontData->fontMetrics(); fontMetrics 93 Source/core/svg/SVGFontData.cpp fontMetrics.setUnitsPerEm(unitsPerEm); fontMetrics 94 Source/core/svg/SVGFontData.cpp fontMetrics.setAscent(ascent); fontMetrics 95 Source/core/svg/SVGFontData.cpp fontMetrics.setDescent(descent); fontMetrics 96 Source/core/svg/SVGFontData.cpp fontMetrics.setLineGap(lineGap); fontMetrics 97 Source/core/svg/SVGFontData.cpp fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap)); fontMetrics 98 Source/core/svg/SVGFontData.cpp fontMetrics.setXHeight(xHeight); fontMetrics 270 Source/core/svg/SVGLengthContext.cpp float xHeight = ceilf(style->fontMetrics().xHeight()); fontMetrics 289 Source/core/svg/SVGLengthContext.cpp return value * ceilf(style->fontMetrics().xHeight()); fontMetrics 140 Source/platform/DragImage.cpp IntSize labelSize(labelFont.width(labelRun), labelFont.fontMetrics().ascent() + labelFont.fontMetrics().descent()); fontMetrics 152 Source/platform/DragImage.cpp urlStringSize.setHeight(urlFont.fontMetrics().ascent() + urlFont.fontMetrics().descent()); fontMetrics 180 Source/platform/DragImage.cpp IntPoint textPos(kDragLabelBorderX, imageSize.height() - (kLabelBorderYOffset + urlFont.fontMetrics().descent())); fontMetrics 574 Source/platform/fonts/Font.cpp return markFontData->fontMetrics().ascent(); fontMetrics 590 Source/platform/fonts/Font.cpp return markFontData->fontMetrics().descent(); fontMetrics 606 Source/platform/fonts/Font.cpp return markFontData->fontMetrics().height(); fontMetrics 756 Source/platform/fonts/Font.cpp glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-it.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent())); fontMetrics 757 Source/platform/fonts/Font.cpp glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(it.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent())); fontMetrics 107 Source/platform/fonts/Font.h const FontMetrics& fontMetrics() const { return primaryFont()->fontMetrics(); } fontMetrics 107 Source/platform/fonts/SimpleFontData.h FontMetrics& fontMetrics() { return m_fontMetrics; } fontMetrics 108 Source/platform/fonts/SimpleFontData.h const FontMetrics& fontMetrics() const { return m_fontMetrics; } fontMetrics 109 Source/platform/fonts/SimpleFontData.h float sizePerUnit() const { return platformData().size() / (fontMetrics().unitsPerEm() ? fontMetrics().unitsPerEm() : 1); } fontMetrics 125 Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp const FontMetrics& metrics = font->fontMetrics(); fontMetrics 222 Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp glyphOverflow->top = std::max<int>(glyphOverflow->top, ceilf(-shaper.glyphBoundingBox().top()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent())); fontMetrics 223 Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp glyphOverflow->bottom = std::max<int>(glyphOverflow->bottom, ceilf(shaper.glyphBoundingBox().bottom()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent())); fontMetrics 140 Source/platform/fonts/mac/FontComplexTextMac.cpp glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent())); fontMetrics 141 Source/platform/fonts/mac/FontComplexTextMac.cpp glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent())); fontMetrics 116 Source/platform/fonts/mac/FontMac.cpp y += SkFloatToScalar(font->fontMetrics().floatAscent(IdeographicBaseline) - font->fontMetrics().floatAscent()); fontMetrics 510 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return font->fontMetrics().height(); fontMetrics 517 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FontMetrics& metrics = font->fontMetrics(); fontMetrics 210 Source/web/ExternalPopupMenu.cpp info->itemHeight = m_popupMenuClient->menuStyle().font().fontMetrics().height(); fontMetrics 461 Source/web/PopupListBox.cpp int textY = rowRect.y() + itemFont.fontMetrics().ascent() + (rowRect.height() - itemFont.fontMetrics().height()) / 2; fontMetrics 579 Source/web/PopupListBox.cpp int fontHeight = getRowFont(index).fontMetrics().height(); fontMetrics 67 Source/web/WebFontImpl.cpp return m_font.fontMetrics().ascent(); fontMetrics 72 Source/web/WebFontImpl.cpp return m_font.fontMetrics().descent(); fontMetrics 77 Source/web/WebFontImpl.cpp return m_font.fontMetrics().height(); fontMetrics 82 Source/web/WebFontImpl.cpp return m_font.fontMetrics().lineSpacing(); fontMetrics 87 Source/web/WebFontImpl.cpp return m_font.fontMetrics().xHeight();