Home
last modified time | relevance | path

Searched refs:m_fontMetrics (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DSimpleFontDataSkia.cpp54 m_fontMetrics.reset(); in platformInit()
117 m_fontMetrics.setAscent(ascent); in platformInit()
118 m_fontMetrics.setDescent(descent); in platformInit()
123 m_fontMetrics.setXHeight(xHeight); in platformInit()
126 m_fontMetrics.setXHeight(xHeight); in platformInit()
127 m_fontMetrics.setHasXHeight(false); in platformInit()
131 m_fontMetrics.setLineGap(lineGap); in platformInit()
132 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in platformInit()
137 m_fontMetrics.setUnderlineThickness(SkScalarToFloat(underlineThickness)); in platformInit()
138 m_fontMetrics.setUnderlinePosition(SkScalarToFloat(-underlinePosition)); in platformInit()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DSimpleFontData.cpp96 m_avgCharWidth = m_fontMetrics.xHeight(); in initCharWidths()
99 m_maxCharWidth = max(m_avgCharWidth, m_fontMetrics.floatAscent()); in initCharWidths()
127 m_fontMetrics.setZeroWidth(widthForGlyph(m_zeroGlyph)); in platformGlyphInit()
DSimpleFontData.h106 FontMetrics& fontMetrics() { return m_fontMetrics; } in fontMetrics()
107 const FontMetrics& fontMetrics() const { return m_fontMetrics; } in fontMetrics()
190 FontMetrics m_fontMetrics; variable
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DSimpleFontDataMac.mm237 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
263 m_fontMetrics.setUnitsPerEm(unitsPerEm);
264 m_fontMetrics.setAscent(ascent);
265 m_fontMetrics.setDescent(descent);
266 m_fontMetrics.setLineGap(lineGap);
267 m_fontMetrics.setXHeight(xHeight);
268 m_fontMetrics.setUnderlineThickness(underlineThickness);
269 m_fontMetrics.setUnderlinePosition(underlinePosition);
286 …m_avgCharWidth = scaleEmToUnits(os2AvgCharWidth, m_fontMetrics.unitsPerEm()) * m_platformData.m_si…
297 m_maxCharWidth = scaleEmToUnits(diff, m_fontMetrics.unitsPerEm()) * m_platformData.m_size;