Changed fixed fonts family name.

This commit is contained in:
Eric Pouech 2002-03-23 18:45:25 +00:00 committed by Alexandre Julliard
parent 3a0b3bbd6b
commit 630cde9008
1 changed files with 4 additions and 1 deletions

View File

@ -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;
ptm->tmPitchAndFamily |= FF_ROMAN; if (ptm->tmPitchAndFamily & TMPF_FIXED_PITCH)
ptm->tmPitchAndFamily |= FF_ROMAN;
else
ptm->tmPitchAndFamily |= FF_MODERN;
ptm->tmCharSet = font->charset; ptm->tmCharSet = font->charset;
return TRUE; return TRUE;