Commit 1cfa1c69 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Remove unused field from fontface data structure.

parent 745452ee
......@@ -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;
......
......@@ -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;
......
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