Alex Henrie alexhenrie24@gmail.com writes:
@@ -4741,6 +4741,17 @@ static void test_EnumFonts(void) ret = EnumFontFamiliesA(hdc, NULL, enum_all_fonts_proc, (LPARAM)&lf); ok(ret, "font Arial Italic Bold should not be enumerated\n");
- /* MS Shell Dlg and MS Shell Dlg 2 must exist */
- ret = EnumFontFamiliesA(hdc, "MS Shell Dlg", enum_fonts_proc, (LPARAM)&lf);
- ok(!ret, "font MS Shell Dlg is not enumerated\n");
- ret = strcmp(lf.lfFaceName, "MS Shell Dlg");
- ok(!ret, "expected MS Shell Dlg got %s\n", lf.lfFaceName);
- ret = EnumFontFamiliesA(hdc, "MS Shell Dlg 2", enum_fonts_proc, (LPARAM)&lf);
- ok(!ret, "font MS Shell Dlg 2 is not enumerated\n");
- ret = strcmp(lf.lfFaceName, "MS Shell Dlg 2");
- ok(!ret, "expected MS Shell Dlg 2 got %s\n", lf.lfFaceName);
Please add tests for the full name too.