Vincent Povirk madewokherd@gmail.com wrote:
@@ -4721,7 +4767,7 @@ static const struct image_codec codecs[NUM_CODECS] = { /* SigMask */ emf_sig_mask, }, NULL,
decode_image_olepicture_metafile,
},decode_image_emf, NULL
This patch is very incomplete, and probably won't pass the 'make test'. wine-staging contains a pretty full and well tested patch that reimplements metafile loading in gdiplus using gdi32 APis: https://github.com/wine-compholio/wine-staging/blob/master/patches/oleaut32-... it should be possible to either use it directly or as a base for your work. There are some other related patches in staging that touch the metafile loading in gdiplus.