[PATCH 4/4] gdi32: Set NTM_MULTIPLEMASTER flag for MM freetype faces
Nikolay Sivov
nsivov at codeweavers.com
Mon Feb 29 22:19:04 CST 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/gdi32/freetype.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 8d588efb..4c9ab35 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -1967,6 +1967,10 @@ static inline DWORD get_ntm_flags( FT_Face ft_face )
if (!pFT_Load_Sfnt_Table( ft_face, FT_MAKE_TAG( 'D','S','I','G' ), 0, NULL, &table_size ))
flags |= NTM_DSIG;
}
+ else {
+ if (FT_HAS_MULTIPLE_MASTERS( ft_face ))
+ flags |= NTM_MULTIPLEMASTER;
+ }
return flags;
}
--
2.7.0
More information about the wine-patches
mailing list