Changed fixed fonts family name.
This commit is contained in:
parent
3a0b3bbd6b
commit
630cde9008
|
@ -1277,7 +1277,10 @@ BOOL WineEngGetTextMetrics(GdiFont font, LPTEXTMETRICW ptm)
|
||||||
ptm->tmPitchAndFamily |= TMPF_VECTOR;
|
ptm->tmPitchAndFamily |= TMPF_VECTOR;
|
||||||
if(FT_IS_SFNT(ft_face))
|
if(FT_IS_SFNT(ft_face))
|
||||||
ptm->tmPitchAndFamily |= TMPF_TRUETYPE;
|
ptm->tmPitchAndFamily |= TMPF_TRUETYPE;
|
||||||
|
if (ptm->tmPitchAndFamily & TMPF_FIXED_PITCH)
|
||||||
ptm->tmPitchAndFamily |= FF_ROMAN;
|
ptm->tmPitchAndFamily |= FF_ROMAN;
|
||||||
|
else
|
||||||
|
ptm->tmPitchAndFamily |= FF_MODERN;
|
||||||
|
|
||||||
ptm->tmCharSet = font->charset;
|
ptm->tmCharSet = font->charset;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue