From 3439f286791f9c3947f6a765853e2391e29167e1 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Tue, 19 Jun 2012 12:05:30 +0900 Subject: [PATCH] gdiplus: GdipCreateFontFromLogfont also returns NotTrueTypeFont for a not present font. --- dlls/gdiplus/tests/graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c index 0d313658195..3cb33c7cdc3 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;