gdiplus: GdipCreateFontFromLogfont also returns NotTrueTypeFont for a not present font.
This commit is contained in:
parent
eeb52474c1
commit
3439f28679
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue