[PATCH] dwrite: Return face count of 1 for CFF file type
Nikolay Sivov
nsivov at codeweavers.com
Tue Nov 17 08:41:36 CST 2015
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/dwrite/opentype.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/dwrite/opentype.c b/dlls/dwrite/opentype.c
index 82e0a9c..b48a769 100644
--- a/dlls/dwrite/opentype.c
+++ b/dlls/dwrite/opentype.c
@@ -748,6 +748,7 @@ HRESULT opentype_analyze_font(IDWriteFontFileStream *stream, UINT32* font_count,
}
else if (DWRITE_MAKE_OPENTYPE_TAG(tag[0], tag[1], tag[2], tag[3]) == MS_OTTO_TAG)
{
+ *font_count = 1;
*file_type = DWRITE_FONT_FILE_TYPE_CFF;
face = DWRITE_FONT_FACE_TYPE_CFF;
}
--
2.6.2
More information about the wine-patches
mailing list