/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
D | SimpleFontDataSkia.cpp | 111 float xHeight; in platformInit() local 113 xHeight = metrics.fXHeight; in platformInit() 114 m_fontMetrics.setXHeight(xHeight); in platformInit() 116 xHeight = ascent * 0.56; // Best guess from Windows font metrics. in platformInit() 117 m_fontMetrics.setXHeight(xHeight); in platformInit() 149 m_avgCharWidth = xHeight; in platformInit()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGLengthContext.cpp | 258 float xHeight = ceilf(style->fontMetrics().xHeight()); in convertValueFromUserUnitsToEXS() local 259 if (!xHeight) { in convertValueFromUserUnitsToEXS() 264 return value / xHeight; in convertValueFromUserUnitsToEXS() 277 return value * ceilf(style->fontMetrics().xHeight()); in convertValueFromEXSToUserUnits()
|
D | SVGFontData.cpp | 78 float xHeight = svgFontFaceElement->xHeight() * scale; in initializeFontData() local 85 if (!xHeight && glyphPageZero) { in initializeFontData() 88 xHeight = letterXGlyph ? fontData->widthForGlyph(letterXGlyph) : 2 * ascent / 3; in initializeFontData() 97 fontMetrics.setXHeight(xHeight); in initializeFontData()
|
D | SVGFontFaceElement.h | 39 int xHeight() const;
|
D | SVGFontFaceElement.cpp | 132 int SVGFontFaceElement::xHeight() const in xHeight() function in WebCore::SVGFontFaceElement
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | FontMetrics.h | 77 float xHeight() const { return m_xHeight; } in xHeight() function 78 void setXHeight(float xHeight) in setXHeight() argument 80 m_xHeight = xHeight; in setXHeight()
|
D | SimpleFontData.cpp | 96 m_avgCharWidth = m_fontMetrics.xHeight(); in initCharWidths()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
D | SimpleFontDataWin.cpp | 79 float xHeight = ascent * 0.56f; // Best guess for xHeight for non-Truetype fonts. in platformInit() local 90 xHeight = static_cast<float>(glyphMetrics.gmBlackBoxY); in platformInit() 96 m_fontMetrics.setXHeight(xHeight); in platformInit()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebFontImpl.cpp | 85 float WebFontImpl::xHeight() const in xHeight() function in blink::WebFontImpl 87 return m_font.fontMetrics().xHeight(); in xHeight()
|
D | WebFontImpl.h | 51 virtual float xHeight() const;
|
/external/chromium_org/third_party/WebKit/public/web/ |
D | WebFont.h | 59 virtual float xHeight() const = 0;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | SimpleFontDataMac.mm | 237 float xHeight; 245 xHeight = -CGRectGetMinY(platformBoundsForGlyph(xGlyph)); 247 … xHeight = scaleEmToUnits(CGFontGetXHeight(m_platformData.cgFont()), unitsPerEm) * pointSize; 249 xHeight = verticalRightOrientationFontData()->fontMetrics().xHeight(); 255 m_fontMetrics.setXHeight(xHeight);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | SVGTextLayoutEngineBaseline.cpp | 136 return fontMetrics.xHeight() / 2; in calculateAlignmentBaselineShift()
|
/external/chromium_org/third_party/freetype/include/freetype/ |
D | tttables.h | 446 FT_UShort xHeight; member
|
/external/freetype/include/freetype/ |
D | tttables.h | 446 FT_UShort xHeight; member
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/ |
D | OpenTypeUtilities.cpp | 100 BigEndianUShort xHeight; member
|
/external/chromium_org/content/child/ |
D | browser_font_resource_trusted.cc | 291 metrics->x_height = static_cast<int32_t>(font_->xHeight()); in Describe()
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
D | ttload.c | 1163 FT_FRAME_USHORT( xHeight ), in tt_face_load_pclt()
|
/external/freetype/src/sfnt/ |
D | ttload.c | 1163 FT_FRAME_USHORT( xHeight ), in tt_face_load_pclt()
|
/external/skia/src/ports/ |
D | SkFontHost_win_dw.cpp | 867 mx->fXHeight = fRec.fTextSize * SkIntToScalar(dwfm.xHeight) / upem; in generateFontMetrics() 876 my->fXHeight = fRec.fTextSize * SkIntToScalar(dwfm.xHeight) / upem; in generateFontMetrics()
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkFontHost_win_dw.cpp | 867 mx->fXHeight = fRec.fTextSize * SkIntToScalar(dwfm.xHeight) / upem; in generateFontMetrics() 876 my->fXHeight = fRec.fTextSize * SkIntToScalar(dwfm.xHeight) / upem; in generateFontMetrics()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSPrimitiveValue.cpp | 575 factor = style.fontMetrics().xHeight(); in computeLengthDouble()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RootInlineBox.cpp | 879 …verticalPosition = (verticalPosition - static_cast<LayoutUnit>(fontMetrics.xHeight() / 2) - render… in verticalPositionForBox()
|