gdiplus: GdipCreateFontFromLogfont also returns NotTrueTypeFont for a not present font.
Dmitry Timoshkov
dmitry at baikal.ru
Mon Jun 18 22:05:30 CDT 2012
---
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 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;
--
1.7.11
More information about the wine-patches
mailing list