dwrite/tests: Test font set properties that should be always available.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-03-12 15:07:02 +03:00 committed by Alexandre Julliard
parent 2bc442aa1b
commit fc1f50c515
1 changed files with 7 additions and 0 deletions

View File

@ -9512,6 +9512,13 @@ static void test_fontsetbuilder(void)
hr = IDWriteFontSet_GetPropertyValues(fontset, 0, id, &exists, &values);
ok(hr == S_OK, "Failed to get property value, hr %#x.\n", hr);
if (id == DWRITE_FONT_PROPERTY_ID_WEIGHT || id == DWRITE_FONT_PROPERTY_ID_STRETCH
|| id == DWRITE_FONT_PROPERTY_ID_STYLE)
{
todo_wine
ok(exists, "Property %u expected to exist.\n", id);
}
if (!exists)
continue;