Commit d0fa8cbc authored by Austin English's avatar Austin English Committed by Alexandre Julliard

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

parent 6c1d5f0b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment