Removed old FF_ code.
This commit is contained in:
parent
b3b0ddb859
commit
f641cf4724
|
@ -1525,10 +1525,6 @@ 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;
|
|
||||||
else
|
|
||||||
ptm->tmPitchAndFamily |= FF_MODERN;
|
|
||||||
|
|
||||||
ptm->tmCharSet = font->charset;
|
ptm->tmCharSet = font->charset;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue