Searched refs:m_avgCharWidth (Results 1 – 16 of 16) sorted by relevance
52 , m_avgCharWidth(-1) in SimpleFontData()110 …m_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()
109 float avgCharWidth() const { return m_avgCharWidth; } in avgCharWidth()208 float m_avgCharWidth; variable
59 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()
58 m_avgCharWidth = 0; in platformInit()77 m_avgCharWidth = textMetric.tmAveCharWidth; in platformInit()
45 m_avgCharWidth = 0; in platformInit()92 m_avgCharWidth = fm.averageCharWidth(); in platformCharWidthInit()
69 m_avgCharWidth = 0; in initGDIFont()86 m_avgCharWidth = textMetrics.tmAveCharWidth; in initGDIFont()
73 m_avgCharWidth = textMetrics.tmAveCharWidth * metricsMultiplier; in platformInit()
120 m_avgCharWidth = 0.f; in platformCharWidthInit()
60 m_avgCharWidth = 0.f; in platformCharWidthInit()
80 m_avgCharWidth = 0.f; in platformCharWidthInit()
79 m_avgCharWidth = 0.f; in platformCharWidthInit()
78 m_avgCharWidth = 0.f; in platformCharWidthInit()
75 m_avgCharWidth = 0.f; in platformCharWidthInit()
177 m_avgCharWidth = (tm.tmAveCharWidth * m_platformData.size() + 36) / 72; in platformCharWidthInit()
325 m_avgCharWidth = 0;332 …m_avgCharWidth = scaleEmToUnits(os2AvgCharWidth, m_fontMetrics.unitsPerEm()) * m_platformData.m_si…
15273 -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.