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:
parent
745452ee94
commit
1cfa1c6930
|
@ -262,7 +262,6 @@ struct dwrite_fontface
|
||||||
INT charmap;
|
INT charmap;
|
||||||
UINT32 flags;
|
UINT32 flags;
|
||||||
|
|
||||||
struct dwrite_fonttable cmap;
|
|
||||||
struct dwrite_fonttable vdmx;
|
struct dwrite_fonttable vdmx;
|
||||||
struct dwrite_fonttable gasp;
|
struct dwrite_fonttable gasp;
|
||||||
struct dwrite_fonttable cpal;
|
struct dwrite_fonttable cpal;
|
||||||
|
|
|
@ -585,8 +585,6 @@ static ULONG WINAPI dwritefontface_Release(IDWriteFontFace5 *iface)
|
||||||
heap_free(fontface->cached);
|
heap_free(fontface->cached);
|
||||||
}
|
}
|
||||||
release_scriptshaping_cache(fontface->shaping_cache);
|
release_scriptshaping_cache(fontface->shaping_cache);
|
||||||
if (fontface->cmap.context)
|
|
||||||
IDWriteFontFace5_ReleaseFontTable(iface, fontface->cmap.context);
|
|
||||||
if (fontface->vdmx.context)
|
if (fontface->vdmx.context)
|
||||||
IDWriteFontFace5_ReleaseFontTable(iface, fontface->vdmx.context);
|
IDWriteFontFace5_ReleaseFontTable(iface, fontface->vdmx.context);
|
||||||
if (fontface->gasp.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->refcount = 1;
|
||||||
fontface->type = desc->face_type;
|
fontface->type = desc->face_type;
|
||||||
fontface->file_count = desc->files_number;
|
fontface->file_count = desc->files_number;
|
||||||
fontface->cmap.exists = TRUE;
|
|
||||||
fontface->vdmx.exists = TRUE;
|
fontface->vdmx.exists = TRUE;
|
||||||
fontface->gasp.exists = TRUE;
|
fontface->gasp.exists = TRUE;
|
||||||
fontface->cpal.exists = TRUE;
|
fontface->cpal.exists = TRUE;
|
||||||
|
|
Loading…
Reference in New Issue