gdi32: GetTextExtentPoint and GetTextExtentExPoint
behavedifferently if there's a \n in the string.
Dmitry Timoshkov
dmitry at codeweavers.com
Wed Sep 20 23:34:09 CDT 2006
"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).
--
Dmitry.
More information about the wine-devel
mailing list