22 Feb
2005
22 Feb
'05
5:23 p.m.
On Tue, Feb 22, 2005 at 11:31:30PM +0900, TANABE Hiroshi wrote:
@@ -2903,7 +2901,8 @@ TM.tmStruckOut = font->strikeout;
/* Yes TPMF_FIXED_PITCH is correct; braindead api */ - if(!FT_IS_FIXED_WIDTH(ft_face)) + if(!FT_IS_FIXED_WIDTH(ft_face) && + (pOS2->version == 0xFFFFU || pOS2->panose[3]!=9)) TM.tmPitchAndFamily = TMPF_FIXED_PITCH; else TM.tmPitchAndFamily = 0;
Isn't this a bug in FreeType? If we have to have this in Wine, could you use the defines in wingdi.h instead of the '3' and the '9'? Huw. -- Huw Davies huw(a)codeweavers.com