Re: [try3] gdi32: abc values remain the same despite any changes in layout direction or Viewport
12 Sep
2013
12 Sep
'13
5:32 p.m.
Aric Stewart <aric(a)codeweavers.com> writes:
@@ -1262,6 +1290,70 @@ static void test_GetCharABCWidths(void) }
ReleaseDC(NULL, hdc); + + memset(&lf, 0, sizeof(lf)); + strcpy(lf.lfFaceName, "Tahoma"); + lf.lfHeight = 20; + +#define helper_ABC(a) (winetest_set_location(__FILE__,__LINE__), 0) ? 0 : helper_ABCWidths(hdc, glyphs, abc, abcw, abcf, a)
Please avoid that sort of macro. You can pass a description string, or simply print the current extents in the helper function, so that we can figure out the failing code without relying on line numbers. -- Alexandre Julliard julliard(a)winehq.org
4482
Age (days ago)
4482
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard