dlls/gdi: fix GetGlyphOutline(resend)

Huw Davies huw at codeweavers.com
Tue Feb 22 11:23:59 CST 2005


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 at codeweavers.com



More information about the wine-devel mailing list