Module: wine Branch: master Commit: 19eaed6a3833a7bff780ccc31800cad2ecfd48d4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=19eaed6a3833a7bff780ccc318...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Nov 17 17:41:36 2015 +0300
dwrite: Return face count of 1 for CFF file type.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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; }