gdiplus: GdipCreateFontFromLogfont also returns NotTrueTypeFont for a not present font.

This commit is contained in:
Dmitry Timoshkov 2012-06-19 12:05:30 +09:00 committed by Alexandre Julliard
parent eeb52474c1
commit 3439f28679
1 changed files with 1 additions and 1 deletions

View File

@ -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;