gdi32/tests: Skip the bitmap font max width test on not 96 dpi resolutions.

This commit is contained in:
Dmitry Timoshkov 2013-06-17 19:00:53 +09:00 committed by Alexandre Julliard
parent 094251496c
commit 288f3be439
1 changed files with 1 additions and 1 deletions

View File

@ -976,7 +976,7 @@ static void test_bitmap_font_metrics(void)
/* Don't run the max char width test on System/ANSI_CHARSET. We have extra characters in our font /* Don't run the max char width test on System/ANSI_CHARSET. We have extra characters in our font
that make the max width bigger */ that make the max width bigger */
if(strcmp(lf.lfFaceName, "System") || lf.lfCharSet != ANSI_CHARSET) if ((strcmp(lf.lfFaceName, "System") || lf.lfCharSet != ANSI_CHARSET) && tm.tmDigitizedAspectX == 96)
ok(tm.tmMaxCharWidth == fd[i].max_char_width, "%s(%d): tm.tmMaxCharWidth %d != %d\n", fd[i].face_name, height, tm.tmMaxCharWidth, fd[i].max_char_width); ok(tm.tmMaxCharWidth == fd[i].max_char_width, "%s(%d): tm.tmMaxCharWidth %d != %d\n", fd[i].face_name, height, tm.tmMaxCharWidth, fd[i].max_char_width);
} }
else else