Commit 630cde90 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Changed fixed fonts family name.

parent 3a0b3bbd
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment