dwrite: Implement IDWriteFont3::HasCharacter().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e7667fa2b7
commit
9777c77a57
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue