Searched refs:fontMetrics (Results 26 - 49 of 49) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DFont.h135 const FontMetrics& fontMetrics() const { return primaryFont()->fontMetrics(); } function in class:WebCore::Font
H A DFontFastPath.cpp360 return markFontData->fontMetrics().ascent();
376 return markFontData->fontMetrics().descent();
392 return markFontData->fontMetrics().height();
541 glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-it.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent()));
542 glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(it.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent()));
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGInlineTextBox.cpp128 const FontMetrics& scaledFontMetrics = scaledFont.fontMetrics();
495 static inline float positionOffsetForDecoration(TextDecoration decoration, const FontMetrics& fontMetrics, float thickness)
500 return fontMetrics.floatAscent() + thickness * 1.5f;
504 return fontMetrics.floatAscent() * 5 / 8.0f;
585 const FontMetrics& scaledFontMetrics = scaledFont.fontMetrics();
701 float baseline = textRenderer->scaledFont().fontMetrics().floatAscent() / scalingFactor;
H A DRenderSVGInlineText.cpp163 float baseline = m_scaledFont.fontMetrics().floatAscent();
H A DSVGTextQuery.cpp469 extent.setLocation(FloatPoint(fragment.x, fragment.y - queryData->textRenderer->scaledFont().fontMetrics().floatAscent() / scalingFactor));
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext2D.cpp2215 const FontMetrics& fontMetrics = font.fontMetrics(); local
2233 location.setY(y + fontMetrics.ascent());
2237 location.setY(y - fontMetrics.descent());
2240 location.setY(y - fontMetrics.descent() + fontMetrics.height() / 2);
2272 textRunPaintInfo.bounds = FloatRect(location.x() - fontMetrics.height() / 2,
2273 location.y() - fontMetrics.ascent() - fontMetrics.lineGap(),
2274 width + fontMetrics
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DInlineFlowBox.cpp128 if (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics())
145 || !parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics())
603 const FontMetrics& fontMetrics = renderer()->style(isFirstLineStyle())->fontMetrics(); local
606 setLogicalTop(roundToInt(top + maxAscent - fontMetrics.ascent(baselineType)));
645 const FontMetrics& fontMetrics = curr->renderer()->style(isFirstLineStyle())->fontMetrics(); local
646 newLogicalTop += curr->baselinePosition(baselineType) - fontMetrics
[all...]
H A DRenderTextControlSingleLine.cpp372 if (textBlockStyle->fontMetrics().lineSpacing() > lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes))
H A DRenderListBox.cpp373 LayoutSize offset = LayoutSize(0, itemFont.fontMetrics().ascent());
652 return style()->fontMetrics().height() + rowSpacing;
H A DRenderBlockLineLayout.cpp804 int rootDescent = includeRootLine ? font.fontMetrics().descent() : 0;
805 int rootAscent = includeRootLine ? font.fontMetrics().ascent() : 0;
806 int boxAscent = font.fontMetrics().ascent() - baselineShift;
807 int boxDescent = font.fontMetrics().descent() + baselineShift;
2439 || !parent->style()->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(flow->style()->font().fontMetrics())))
H A DRenderBlock.cpp6445 const FontMetrics& fontMetrics = style(firstLine)->fontMetrics(); local
6446 return fontMetrics.ascent(baselineType) + (lineHeight(firstLine, direction, linePositionMode) - fontMetrics.height()) / 2;
6456 return firstLineBox()->logicalTop() + style(true)->fontMetrics().ascent(firstRootBox()->baselineType());
6490 const FontMetrics& fontMetrics = firstLineStyle()->fontMetrics(); local
6491 return fontMetrics.ascent()
6492 + (lineHeight(true, lineDirection, PositionOfInteriorLineBoxes) - fontMetrics.height()) / 2
6496 return lastLineBox()->logicalTop() + style(lastLineBox() == firstLineBox())->fontMetrics()
6509 const FontMetrics& fontMetrics = firstLineStyle()->fontMetrics(); local
[all...]
H A DRenderBox.cpp4083 LayoutUnit fontHeight = style()->fontMetrics().height();
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/opentype/
H A DOpenTypeVerticalData.cpp510 return font->fontMetrics().height();
517 const FontMetrics& metrics = font->fontMetrics();
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSPrimitiveValue.cpp541 // We really need to compute EX using fontMetrics for the original specifiedSize and not use
543 if (style->fontMetrics().hasXHeight())
544 factor = style->fontMetrics().xHeight();
555 factor = style->fontMetrics().zeroWidth();
/external/chromium_org/third_party/WebKit/Source/web/
H A DPopupListBox.cpp489 int textY = rowRect.y() + itemFont.fontMetrics().ascent() + (rowRect.height() - itemFont.fontMetrics().height()) / 2;
651 int fontHeight = getRowFont(index).fontMetrics().height();
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/mac/
H A DSimpleFontDataMac.mm250 xHeight = verticalRightOrientationFontData()->fontMetrics().xHeight();
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.cpp1146 const FontMetrics& RenderStyle::fontMetrics() const { return inherited->font.fontMetrics(); } function in class:RenderStyle
1186 return fontMetrics().lineSpacing();
H A DRenderStyle.h525 const FontMetrics& fontMetrics() const;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.ide_3.6.2.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 483 milliseconds

12