Searched refs:m_avgCharWidth (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DSimpleFontData.cpp42 , m_avgCharWidth(-1)
85 if (m_avgCharWidth <= 0.f && glyphPageZero) {
89 m_avgCharWidth = widthForGlyph(digitZeroGlyph);
93 if (m_avgCharWidth <= 0.f)
94 m_avgCharWidth = m_fontMetrics.xHeight();
97 m_maxCharWidth = std::max(m_avgCharWidth, m_fontMetrics.floatAscent());
H A DSimpleFontData.h110 float avgCharWidth() const { return m_avgCharWidth; }
111 void setAvgCharWidth(float avgCharWidth) { m_avgCharWidth = avgCharWidth; }
184 float m_avgCharWidth; member in class:blink::SimpleFontData
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
H A DSimpleFontDataSkia.cpp55 m_avgCharWidth = 0;
145 // m_avgCharWidth in order for text entry widgets to be sized correctly.
162 m_avgCharWidth = SkScalarRoundToInt(metrics.fAvgCharWidth);
164 m_avgCharWidth = xHeight;
178 m_avgCharWidth = widthForGlyph(xGlyph);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DSimpleFontDataMac.mm277 m_avgCharWidth = 0;
284 m_avgCharWidth = scaleEmToUnits(os2AvgCharWidth, m_fontMetrics.unitsPerEm()) * m_platformData.m_textSize;

Completed in 107 milliseconds