mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 16:56:16 +00:00
dwrite: Update to IDWriteFactory7 stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
85691e732a
commit
5536df1ee1
File diff suppressed because it is too large
Load diff
|
@ -9248,7 +9248,7 @@ static void test_font_resource(void)
|
|||
|
||||
if (!(factory = create_factory_iid(&IID_IDWriteFactory6)))
|
||||
{
|
||||
skip("IDWriteFactory6 is not supported.\n");
|
||||
win_skip("IDWriteFactory6 is not supported.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -9259,8 +9259,17 @@ static void test_font_resource(void)
|
|||
ok(hr == S_OK, "Failed to get file object, hr %#x.\n", hr);
|
||||
|
||||
hr = IDWriteFactory6_CreateFontResource(factory, fontfile, 0, &resource);
|
||||
todo_wine
|
||||
ok(hr == S_OK, "Failed to create font resource, hr %#x.\n", hr);
|
||||
|
||||
if (FAILED(hr))
|
||||
{
|
||||
IDWriteFactory6_Release(factory);
|
||||
IDWriteFontFile_Release(fontfile);
|
||||
IDWriteFontFace_Release(fontface);
|
||||
return;
|
||||
}
|
||||
|
||||
hr = IDWriteFactory6_CreateFontResource(factory, fontfile, 0, &resource2);
|
||||
ok(hr == S_OK, "Failed to create font resource, hr %#x.\n", hr);
|
||||
ok(resource != resource2, "Unexpected instance.\n");
|
||||
|
|
Loading…
Reference in a new issue