Dmitry Timoshkov : gdi32: Add support for scaling font metrics.

Lei Zhang thestig at google.com
Wed Jan 9 18:28:24 CST 2008


On Jan 9, 2008 4:19 PM, Alistair Leslie-Hughes
<leslie_alistair at hotmail.com> wrote:
> "Alexandre Julliard" <julliard at winehq.org> wrote in message
> news:E1JCHD3-0006Zm-Je at wine.codeweavers.com...
> > Module: wine
> > Branch: master
> > Commit: 535053b92769ce5f020bb6c5516385cf69da5bf4
> > URL:
> > http://source.winehq.org/git/wine.git/?a=commit;h=535053b92769ce5f020bb6c5516385cf69da5bf4
> >
> > Author: Dmitry Timoshkov <dmitry at codeweavers.com>
> > Date:   Tue Jan  8 23:02:09 2008 +0800
> >
> > gdi32: Add support for scaling font metrics.
> This commit cause my application to fail on loading.
> Backtrace:
>
> 1 0x601bb8ac (0x0219c098)
>
> 2 0x672be1cd UploadGlyph+0x33d(physDev=<register EDI not in topmost frame>,
> glyph=0x34, format=0x1) [/home/alh/wine/dlls/winex11.drv/xrender.c:803] in
> winex11 (0x0219c2a8)
>
> 3 0x672c0088 X11DRV_XRender_ExtTextOut+0x308(physDev=0x1322c0, x=0x0, y=0x9,
> flags=0x1014, lprect=0x219c8c0, wstr=0x4973fe8, count=0x7, lpDx=0x0)
> [/home/alh/wine/dlls/winex11.drv/xrender.c:1255] in winex11 (0x0219c628)
>
> 4 0x672a539d X11DRV_ExtTextOut+0x5d(physDev=0x1322c0, x=0x0, y=0x9,
> flags=0x1014, lprect=0x219c8c0, wstr=0x4973fe8, count=0x7, lpDx=0x0)
> [/home/alh/wine/dlls/winex11.drv/text.c:55] in winex11 (0x0219c6e8)
>
> 5 0x75d98e62 ExtTextOutW+0xac2(hdc=0x30c, x=0x0, y=0x9, flags=0x1014,
> lprect=0x219d2fc, str=0x219ca0c, count=0x7, lpDx=0x0)
> [/home/alh/wine/dlls/gdi32/font.c:2225] in gdi32 (0x0219c908)
>
> 6 0x75ea5a19 DrawTextExW+0xaa9(hdc=0x30c, str=0x4954198, i_count=0xffffffff,
> rect=0x219d2fc, flags=0x50, dtp=0x219d2a0)
> [/home/alh/wine/dlls/user32/text.c:957] in user32 (0x0219d268)
>
> 7 0x75ea693f DrawTextW+0x6f(hdc=0x30c, str=0x4954198, count=0xffffffff,
> rect=0x219d2fc, flags=0x50) [/home/alh/wine/dlls/user32/text.c:1090] in
> user32 (0x0219d2b8)
>
> 8 0x75e9cf74 STATIC_PaintTextfn+0x84(hwnd=0x10078, hdc=0x30c, style=0x0)
> [/home/alh/wine/dlls/user32/static.c:744] in user32 (0x0219d318)
>
> If you need any more information , let me know.
>
> Best Regards
>
>  Alistair Leslie-Hughes
>
>
>
>
>

There's already a bug [1] filed for it and Dmitry is in the process of
fixing it. You should give his latest patch [2] a try.

- Lei

[1] http://bugs.winehq.org/show_bug.cgi?id=11085
[2] http://marc.info/?l=wine-patches&m=119988710018653&q=raw



More information about the wine-devel mailing list