[PATCH 3/4] gdiplus/metafile: Support playback for EmfPlusRecordTypeSetTextRenderingHint

Nikolay Sivov nsivov at codeweavers.com
Tue Oct 10 08:06:30 CDT 2017


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/gdiplus/metafile.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/gdiplus/metafile.c b/dlls/gdiplus/metafile.c
index 350925eb15..e4e61eeca1 100644
--- a/dlls/gdiplus/metafile.c
+++ b/dlls/gdiplus/metafile.c
@@ -1844,6 +1844,10 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
         {
             return GdipSetInterpolationMode(real_metafile->playback_graphics, flags & 0xff);
         }
+        case EmfPlusRecordTypeSetTextRenderingHint:
+        {
+            return GdipSetTextRenderingHint(real_metafile->playback_graphics, flags & 0xff);
+        }
         default:
             FIXME("Not implemented for record type %x\n", recordType);
             return NotImplemented;
-- 
2.14.2




More information about the wine-patches mailing list