mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
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;
|
||||
if(FT_IS_SFNT(ft_face))
|
||||
ptm->tmPitchAndFamily |= TMPF_TRUETYPE;
|
||||
ptm->tmPitchAndFamily |= FF_ROMAN;
|
||||
if (ptm->tmPitchAndFamily & TMPF_FIXED_PITCH)
|
||||
ptm->tmPitchAndFamily |= FF_ROMAN;
|
||||
else
|
||||
ptm->tmPitchAndFamily |= FF_MODERN;
|
||||
|
||||
ptm->tmCharSet = font->charset;
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user