Dmitry Timoshkov : gdiplus: Test also lf.lfEscapement and lf. lfOrientation returned by GdipGetLogFont.
Alexandre Julliard
julliard at winehq.org
Tue Oct 23 13:37:18 CDT 2012
Module: wine
Branch: master
Commit: 5e65f95542cba1aa99be94785feae874dd957e91
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5e65f95542cba1aa99be94785feae874dd957e91
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Tue Oct 23 17:27:48 2012 +0900
gdiplus: Test also lf.lfEscapement and lf.lfOrientation returned by GdipGetLogFont.
---
dlls/gdiplus/tests/font.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/tests/font.c b/dlls/gdiplus/tests/font.c
index 568f9b7..fade7d3 100644
--- a/dlls/gdiplus/tests/font.c
+++ b/dlls/gdiplus/tests/font.c
@@ -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);
More information about the wine-cvs
mailing list