gdi32/tests: Skip some tests if Times New Roman is not installed.

This commit is contained in:
Austin English 2014-04-10 21:45:59 -07:00 committed by Alexandre Julliard
parent 6c1d5f0bac
commit d0fa8cbc74
1 changed files with 6 additions and 0 deletions

View File

@ -2254,6 +2254,12 @@ static void test_SetTextJustification(void)
GetClientRect( hwnd, &clientArea );
hdc = GetDC( hwnd );
if (!is_font_installed("Times New Roman"))
{
skip("Times New Roman is not installed\n");
return;
}
memset(&lf, 0, sizeof lf);
lf.lfCharSet = ANSI_CHARSET;
lf.lfClipPrecision = CLIP_DEFAULT_PRECIS;