dwrite: Remove unused field from fontface data structure.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-06-09 12:14:36 +03:00 committed by Alexandre Julliard
parent 745452ee94
commit 1cfa1c6930
2 changed files with 0 additions and 4 deletions

View File

@ -262,7 +262,6 @@ struct dwrite_fontface
INT charmap;
UINT32 flags;
struct dwrite_fonttable cmap;
struct dwrite_fonttable vdmx;
struct dwrite_fonttable gasp;
struct dwrite_fonttable cpal;

View File

@ -585,8 +585,6 @@ static ULONG WINAPI dwritefontface_Release(IDWriteFontFace5 *iface)
heap_free(fontface->cached);
}
release_scriptshaping_cache(fontface->shaping_cache);
if (fontface->cmap.context)
IDWriteFontFace5_ReleaseFontTable(iface, fontface->cmap.context);
if (fontface->vdmx.context)
IDWriteFontFace5_ReleaseFontTable(iface, fontface->vdmx.context);
if (fontface->gasp.context)
@ -4906,7 +4904,6 @@ HRESULT create_fontface(const struct fontface_desc *desc, struct list *cached_li
fontface->refcount = 1;
fontface->type = desc->face_type;
fontface->file_count = desc->files_number;
fontface->cmap.exists = TRUE;
fontface->vdmx.exists = TRUE;
fontface->gasp.exists = TRUE;
fontface->cpal.exists = TRUE;