gdi32: GetTextExtentPoint and GetTextExtentExPoint
behavedifferently if there's a \n in the string.
Huw Davies
huw at codeweavers.com
Thu Sep 21 04:01:40 CDT 2006
On Thu, Sep 21, 2006 at 01:34:09PM +0900, Dmitry Timoshkov wrote:
> "Huw Davies" <huw at codeweavers.com> wrote:
>
> >- ok(sz1.cx == sz2.cx && sz1.cy == sz2.cy,
> >- "results from GetTextExtentExPointW and GetTextExtentPointW
> >differ\n");
> >+ ok(sz1.cy == sz2.cy,
> >+ "cy from GetTextExtentExPointW (%ld) and GetTextExtentPointW (%ld)
> >differ\n", sz1.cy, sz2.cy);
> >+todo_wine {
> >+ /* The \n in the string is apparently handled differently in
> >GetTextExtentPoint and GetTextExtentExPoint */
> >+ ok(sz1.cx != sz2.cx,
> >+ "cx from GetTextExtentExPointW (%ld) and GetTextExtentPointW (%ld)
> >are the same\n", sz1.cx, sz2.cx);
> >+ }
>
> This test fails for me (i.e. sz1.cx == sz2.cx) under XP (SP2+all the latest
> fixes).
Thanks, guess I'll just get rid of that test altogether then.
Huw.
--
Huw Davies
huw at codeweavers.com
More information about the wine-devel
mailing list