Commit 9777c77a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Implement IDWriteFont3::HasCharacter().

parent e7667fa2
......@@ -1518,8 +1518,12 @@ static HRESULT WINAPI dwritefont3_GetFontFaceReference(IDWriteFont3 *iface, IDWr
static BOOL WINAPI dwritefont3_HasCharacter(IDWriteFont3 *iface, UINT32 ch)
{
struct dwrite_font *This = impl_from_IDWriteFont3(iface);
FIXME("(%p)->(0x%x): stub\n", This, ch);
return FALSE;
BOOL ret;
TRACE("(%p)->(0x%x)\n", This, ch);
IDWriteFont_HasCharacter((IDWriteFont*)iface, ch, &ret);
return ret;
}
static DWRITE_LOCALITY WINAPI dwritefont3_GetLocality(IDWriteFont3 *iface)
......
......@@ -5810,7 +5810,6 @@ static void test_HasCharacter(void)
ok(hr == S_OK, "got 0x%08x\n", hr);
ret = IDWriteFont3_HasCharacter(font3, 'A');
todo_wine
ok(ret, "got %d\n", ret);
IDWriteFont3_Release(font3);
......
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