Lines Matching refs:textMetric
150 TEXTMETRIC textMetric; in calculateGlyphCount() local
151 if (0 == GetTextMetrics(hdc, &textMetric)) { in calculateGlyphCount()
152 textMetric.tmPitchAndFamily = TMPF_VECTOR; in calculateGlyphCount()
154 GetTextMetrics(hdc, &textMetric); in calculateGlyphCount()
157 if (!(textMetric.tmPitchAndFamily & TMPF_VECTOR)) { in calculateGlyphCount()
158 return textMetric.tmLastChar; in calculateGlyphCount()
186 TEXTMETRIC textMetric; in calculateUPEM() local
187 if (0 == GetTextMetrics(hdc, &textMetric)) { in calculateUPEM()
188 textMetric.tmPitchAndFamily = TMPF_VECTOR; in calculateUPEM()
190 GetTextMetrics(hdc, &textMetric); in calculateUPEM()
193 if (!(textMetric.tmPitchAndFamily & TMPF_VECTOR)) { in calculateUPEM()
194 return textMetric.tmMaxCharWidth; in calculateUPEM()
221 TEXTMETRIC textMetric; in LogFontTypeface() local
222 if (0 == GetTextMetrics(deviceContext, &textMetric)) { in LogFontTypeface()
224 if (0 == GetTextMetrics(deviceContext, &textMetric)) { in LogFontTypeface()
225 textMetric.tmPitchAndFamily = TMPF_TRUETYPE; in LogFontTypeface()
237 this->setIsFixedPitch((textMetric.tmPitchAndFamily & TMPF_FIXED_PITCH) == 0); in LogFontTypeface()
241 fCanBeLCD = !((textMetric.tmPitchAndFamily & TMPF_VECTOR) && in LogFontTypeface()
242 (textMetric.tmPitchAndFamily & TMPF_DEVICE)); in LogFontTypeface()