Relax Marlett LOGFONT specification

Huw Davies huw at codeweavers.com
Sat Sep 10 03:53:55 CDT 2005


On Fri, Sep 09, 2005 at 12:46:10PM +0100, Richard Cohen wrote:
> Index: dlls/user/uitools.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/user/uitools.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 uitools.c
> --- dlls/user/uitools.c	7 Jul 2005 18:24:12 -0000	1.7
> +++ dlls/user/uitools.c	9 Sep 2005 11:41:49 -0000
> @@ -926,9 +926,9 @@ static BOOL UITOOLS95_DrawFrameCaption(H
>          return FALSE;
>      }
>      
> -    hf = CreateFontW(-SmallDiam, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE,
> -                    SYMBOL_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
> -                    DEFAULT_QUALITY, FIXED_PITCH|FF_DONTCARE, glyphFontName);
> +    hf = CreateFontW(-SmallDiam, 0, 0, 0, FW_DONTCARE, FALSE, FALSE, FALSE,
> +                    DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
> +                    DEFAULT_QUALITY, DEFAULT_PITCH|FF_DONTCARE, glyphFontName);
>      alignsave = SetTextAlign(dc, TA_TOP|TA_LEFT);
>      bksave = SetBkMode(dc, TRANSPARENT);
>      clrsave = GetTextColor(dc);

We shouldn't need to do this.  Fixing marlett.ttf would be the right
thing to do.  I'll try to look at this next week (but feel free to
beat me to it!).

Huw.





More information about the wine-devel mailing list