Home
last modified time | relevance | path

Searched refs:m_avgCharWidth (Results 1 – 16 of 16) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
DSimpleFontData.cpp52 , m_avgCharWidth(-1) in SimpleFontData()
110m_avgCharWidth = numeralZeroGlyphs.isEmpty() ? m_spaceWidth : numeralZeroGlyphs.first().horizontal… in SimpleFontData()
132 if (m_avgCharWidth <= 0.f && glyphPageZero) { in initCharWidths()
136 m_avgCharWidth = widthForGlyph(digitZeroGlyph); in initCharWidths()
140 if (m_avgCharWidth <= 0.f) in initCharWidths()
141 m_avgCharWidth = m_fontMetrics.xHeight(); in initCharWidths()
144 m_maxCharWidth = max(m_avgCharWidth, m_fontMetrics.floatAscent()); in initCharWidths()
DSimpleFontData.h109 float avgCharWidth() const { return m_avgCharWidth; } in avgCharWidth()
208 float m_avgCharWidth; variable
/external/webkit/Source/WebCore/platform/graphics/chromium/
DSimpleFontDataLinux.cpp59 m_avgCharWidth = 0; in platformInit()
133 m_avgCharWidth = SkScalarRound(metrics.fAvgCharWidth); in platformInit()
135 m_avgCharWidth = xHeight; in platformInit()
144 m_avgCharWidth = widthForGlyph(xGlyph); in platformInit()
DSimpleFontDataChromiumWin.cpp58 m_avgCharWidth = 0; in platformInit()
77 m_avgCharWidth = textMetric.tmAveCharWidth; in platformInit()
/external/webkit/Source/WebCore/platform/graphics/qt/
DSimpleFontDataQt.cpp45 m_avgCharWidth = 0; in platformInit()
92 m_avgCharWidth = fm.averageCharWidth(); in platformCharWidthInit()
/external/webkit/Source/WebCore/platform/graphics/win/
DSimpleFontDataWin.cpp69 m_avgCharWidth = 0; in initGDIFont()
86 m_avgCharWidth = textMetrics.tmAveCharWidth; in initGDIFont()
DSimpleFontDataCairoWin.cpp73 m_avgCharWidth = textMetrics.tmAveCharWidth * metricsMultiplier; in platformInit()
DSimpleFontDataCGWin.cpp120 m_avgCharWidth = 0.f; in platformCharWidthInit()
/external/webkit/Source/WebCore/platform/graphics/haiku/
DSimpleFontDataHaiku.cpp60 m_avgCharWidth = 0.f; in platformCharWidthInit()
/external/webkit/Source/WebCore/platform/graphics/freetype/
DSimpleFontDataFreeType.cpp80 m_avgCharWidth = 0.f; in platformCharWidthInit()
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DFontDataAndroid.cpp79 m_avgCharWidth = 0.f; in platformCharWidthInit()
/external/webkit/Source/WebCore/platform/graphics/pango/
DSimpleFontDataPango.cpp78 m_avgCharWidth = 0.f; in platformCharWidthInit()
/external/webkit/Source/WebCore/platform/graphics/wx/
DSimpleFontDataWx.cpp75 m_avgCharWidth = 0.f; in platformCharWidthInit()
/external/webkit/Source/WebCore/platform/graphics/wince/
DSimpleFontDataWinCE.cpp177 m_avgCharWidth = (tm.tmAveCharWidth * m_platformData.size() + 36) / 72; in platformCharWidthInit()
/external/webkit/Source/WebCore/platform/graphics/mac/
DSimpleFontDataMac.mm325 m_avgCharWidth = 0;
332m_avgCharWidth = scaleEmToUnits(os2AvgCharWidth, m_fontMetrics.unitsPerEm()) * m_platformData.m_si…
/external/webkit/Source/WebCore/
DChangeLog-2009-06-1615273 -Correctly initializing m_avgCharWidth and m_maxCharWidth for each platform and SVG.
18635 -Correctly initializing m_avgCharWidth and m_maxCharWidth for each platform and SVG.