Searched refs:xHeight (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontMetrics.h79 float xHeight() const { return m_xHeight; } function in class:blink::FontMetrics
80 void setXHeight(float xHeight) argument
82 m_xHeight = xHeight;
H A DSimpleFontData.cpp94 m_avgCharWidth = m_fontMetrics.xHeight();
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebFontImpl.h51 virtual float xHeight() const OVERRIDE;
H A DWebFontImpl.cpp83 float WebFontImpl::xHeight() const function in class:blink::WebFontImpl
85 return m_font.fontMetrics().xHeight();
/external/chromium_org/third_party/WebKit/public/web/
H A DWebFont.h59 virtual float xHeight() const = 0;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
H A DSimpleFontDataSkia.cpp120 float xHeight; local
122 xHeight = metrics.fXHeight;
123 m_fontMetrics.setXHeight(xHeight);
125 xHeight = ascent * 0.56; // Best guess from Windows font metrics.
126 m_fontMetrics.setXHeight(xHeight);
164 m_avgCharWidth = xHeight;
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGLengthContext.cpp270 float xHeight = ceilf(style->fontMetrics().xHeight()); local
271 if (!xHeight) {
276 return value / xHeight;
289 return value * ceilf(style->fontMetrics().xHeight());
H A DSVGFontFaceElement.h41 int xHeight() const;
H A DSVGFontData.cpp82 float xHeight = svgFontFaceElement->xHeight() * scale; local
89 if (!xHeight && glyphPageZero) {
92 xHeight = letterXGlyph ? fontData->widthForGlyph(letterXGlyph) : 2 * ascent / 3;
101 fontMetrics.setXHeight(xHeight);
H A DSVGFontFaceElement.cpp130 int SVGFontFaceElement::xHeight() const function in class:blink::SVGFontFaceElement
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DSimpleFontDataMac.mm247 float xHeight;
255 xHeight = -CGRectGetMinY(platformBoundsForGlyph(xGlyph));
257 xHeight = scaleEmToUnits(CGFontGetXHeight(m_platformData.cgFont()), unitsPerEm) * pointSize;
259 xHeight = verticalRightOrientationFontData()->fontMetrics().xHeight();
265 m_fontMetrics.setXHeight(xHeight);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextLayoutEngineBaseline.cpp132 return fontMetrics.xHeight() / 2;
/external/chromium_org/third_party/freetype/include/freetype/
H A Dtttables.h446 FT_UShort xHeight; member in struct:TT_PCLT_
/external/freetype/include/
H A Dtttables.h450 FT_UShort xHeight; member in struct:TT_PCLT_
/external/pdfium/core/include/thirdparties/freetype/freetype/
H A Dtttables.h446 FT_UShort xHeight; member in struct:TT_PCLT_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
H A Dtttables.h446 FT_UShort xHeight; member in struct:TT_PCLT_
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
H A DOpenTypeUtilities.cpp100 BigEndianUShort xHeight; member in struct:blink::OS2Table
/external/chromium_org/content/child/
H A Dbrowser_font_resource_trusted.cc291 metrics->x_height = static_cast<int32_t>(font_->xHeight());
/external/skia/src/ports/
H A DSkScalerContext_win_dw.cpp484 mx->fXHeight = fTextSizeRender * SkIntToScalar(dwfm.xHeight) / upem;
496 my->fXHeight = fTextSizeRender * SkIntToScalar(dwfm.xHeight) / upem;
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dttload.c1163 FT_FRAME_USHORT( xHeight ),
/external/freetype/src/sfnt/
H A Dttload.c1180 FT_FRAME_USHORT( xHeight ),
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSPrimitiveValue.cpp622 factor = style.fontMetrics().xHeight();
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRootInlineBox.cpp755 verticalPosition = (verticalPosition - static_cast<LayoutUnit>(fontMetrics.xHeight() / 2) - renderer->lineHeight(firstLine, lineDirection) / 2 + renderer->baselinePosition(baselineType(), firstLine, lineDirection)).round();
/external/chromium_org/third_party/skia/src/ports/
H A DSkScalerContext_win_dw.cpp522 metrics->fXHeight = fTextSizeRender * SkIntToScalar(dwfm.xHeight) / upem;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dttload.c1189 FT_FRAME_USHORT( xHeight ),

Completed in 1693 milliseconds

12