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:
parent
41dd0eb457
commit
6e2161670d
|
@ -1264,6 +1264,8 @@ static int _find_font_for_range(HDC hdc, const CHAR *recommended, BYTE range, co
|
|||
rc = 1;
|
||||
}
|
||||
}
|
||||
if (!rc)
|
||||
winetest_skip("Font %s is not available.\n", recommended);
|
||||
}
|
||||
|
||||
if (!*hfont)
|
||||
|
|
Loading…
Reference in New Issue