Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DSimpleFontData.cpp44 , m_avgCharWidth(-1) in SimpleFontData()
87 if (m_avgCharWidth <= 0.f && glyphPageZero) { in initCharWidths()
91 m_avgCharWidth = widthForGlyph(digitZeroGlyph); in initCharWidths()
95 if (m_avgCharWidth <= 0.f) in initCharWidths()
96 m_avgCharWidth = m_fontMetrics.xHeight(); in initCharWidths()
99 m_maxCharWidth = max(m_avgCharWidth, m_fontMetrics.floatAscent()); in initCharWidths()
DSimpleFontData.h114 float avgCharWidth() const { return m_avgCharWidth; } in avgCharWidth()
115 void setAvgCharWidth(float avgCharWidth) { m_avgCharWidth = avgCharWidth; } in setAvgCharWidth()
196 float m_avgCharWidth; variable
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DSimpleFontDataSkia.cpp57 m_avgCharWidth = 0; in platformInit()
147 m_avgCharWidth = SkScalarRound(metrics.fAvgCharWidth); in platformInit()
149 m_avgCharWidth = xHeight; in platformInit()
163 m_avgCharWidth = widthForGlyph(xGlyph); in platformInit()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DSimpleFontDataWin.cpp53 m_avgCharWidth = 0; in platformInit()
72 m_avgCharWidth = textMetric.tmAveCharWidth; in platformInit()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DSimpleFontDataMac.mm265 m_avgCharWidth = 0;
272m_avgCharWidth = scaleEmToUnits(os2AvgCharWidth, m_fontMetrics.unitsPerEm()) * m_platformData.m_si…