Dmitry Timoshkov : gdiplus: GdipCreateFontFromLogfont also returns NotTrueTypeFont for a not present font .
Alexandre Julliard
julliard at winehq.org
Tue Jun 19 15:36:27 CDT 2012
Module: wine
Branch: master
Commit: 3439f286791f9c3947f6a765853e2391e29167e1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3439f286791f9c3947f6a765853e2391e29167e1
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Tue Jun 19 12:05:30 2012 +0900
gdiplus: GdipCreateFontFromLogfont also returns NotTrueTypeFont for a not present font.
---
dlls/gdiplus/tests/graphics.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c
index 0d31365..3cb33c7 100644
--- a/dlls/gdiplus/tests/graphics.c
+++ b/dlls/gdiplus/tests/graphics.c
@@ -1970,7 +1970,7 @@ static void test_GdipDrawString(void)
expect(Ok, status);
status = GdipCreateFontFromLogfontA(hdc, &logfont, &fnt);
- if (status == FileNotFound)
+ if (status == NotTrueTypeFont || status == FileNotFound)
{
skip("Arial not installed.\n");
return;
More information about the wine-cvs
mailing list