gdiplus: Test also lf.lfEscapement and lf.lfOrientation returned by GdipGetLogFont.

This commit is contained in:
Dmitry Timoshkov 2012-10-23 17:27:48 +09:00 committed by Alexandre Julliard
parent c5faceabd2
commit 5e65f95542
1 changed files with 16 additions and 0 deletions

View File

@ -857,6 +857,8 @@ static void test_font_transform(void)
expect(Ok, status);
expect(-100, lf.lfHeight);
expect(0, lf.lfWidth);
expect(0, lf.lfEscapement);
expect(0, lf.lfOrientation);
status = GdipGetFontHeight(font, graphics, &height);
expect(Ok, status);
expectf(120.703125, height);
@ -905,6 +907,8 @@ todo_wine
todo_wine
expect(-300, lf.lfHeight);
expect(0, lf.lfWidth);
expect(0, lf.lfEscapement);
expect(0, lf.lfOrientation);
status = GdipGetFontHeight(font, graphics, &height);
expect(Ok, status);
expectf(120.703125, height);
@ -953,6 +957,10 @@ todo_wine
todo_wine
expect(-300, lf.lfHeight);
expect(0, lf.lfWidth);
todo_wine
expect(3151, lf.lfEscapement);
todo_wine
expect(3151, lf.lfOrientation);
status = GdipGetFontHeight(font, graphics, &height);
expect(Ok, status);
expectf(120.703125, height);
@ -1002,6 +1010,10 @@ todo_wine
todo_wine
expect(1032, lf.lfHeight);
expect(0, lf.lfWidth);
todo_wine
expect(3099, lf.lfEscapement);
todo_wine
expect(3099, lf.lfOrientation);
status = GdipGetFontHeight(font, graphics, &height);
expect(Ok, status);
expectf(120.703125, height);
@ -1051,6 +1063,10 @@ todo_wine
todo_wine
expect(1032, lf.lfHeight);
expect(0, lf.lfWidth);
todo_wine
expect(3099, lf.lfEscapement);
todo_wine
expect(3099, lf.lfOrientation);
status = GdipGetFontHeight(font, graphics, &height);
expect(Ok, status);
expectf(120.703125, height);