usp10/tests: Explicitly skip tests when required fonts are not available.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2017-03-19 22:59:43 +01:00 committed by Alexandre Julliard
parent 41dd0eb457
commit 6e2161670d
1 changed files with 2 additions and 0 deletions

View File

@ -1264,6 +1264,8 @@ static int _find_font_for_range(HDC hdc, const CHAR *recommended, BYTE range, co
rc = 1; rc = 1;
} }
} }
if (!rc)
winetest_skip("Font %s is not available.\n", recommended);
} }
if (!*hfont) if (!*hfont)