On Tue, Jul 14, 2020 at 09:11:00PM -0500, Esme Povirk (they/them) wrote:
Playing back the emf from Windows on Wine doesn't work here.
metafile.c:285: Test failed: drawdriverstring playback.2: GdipPlayMetafileRecord failed with stat 2 metafile.c:285: Test failed: drawdriverstring playback.3: GdipPlayMetafileRecord failed with stat 2 metafile.c:285: Test failed: drawdriverstring playback.4: GdipPlayMetafileRecord failed with stat 2 metafile.c:285: Test failed: drawdriverstring playback.6: GdipPlayMetafileRecord failed with stat 2 metafile.c:289: Test failed: drawdriverstring playback.7: expected record type 0x4002, got 0x21 metafile.c:289: Test failed: drawdriverstring playback.8: expected record type 0xe, got 0x62 metafile.c:297: Test failed: drawdriverstring playback: unexpected record 0x4c 00bc:metafile: 1479 tests executed (13 marked as todo, 70 failures), 0 skipped.
That's odd; this isn't the output I get on my system. Instead, I get this (irrelevant lines omitted):
metafile.c:58: Test marked todo: drawdriverstring metafile.2: Expected record type 0x4008, got 0x4002. Expected flags 0x600, got 0. metafile.c:66: Test marked todo: drawdriverstring metafile.3: Expected record type 0x4036, got 0xe. metafile.c:262: Test marked todo: drawdriverstring metafile: Got 4 records, expecting more metafile.c:289: Test succeeded inside todo block: drawdriverstring playback.2: expected record type 0x4008, got 0x4008 metafile.c:289: Test succeeded inside todo block: drawdriverstring playback.3: expected record type 0x4036, got 0x4036 metafile.c:289: Test succeeded inside todo block: drawdriverstring playback.4: expected record type 0x4008, got 0x4008 metafile.c:285: Test succeeded inside todo block: drawdriverstring playback.5: GdipPlayMetafileRecord failed with stat 0 metafile.c:289: Test succeeded inside todo block: drawdriverstring playback.5: expected record type 0x4008, got 0x4008 metafile.c:285: Test succeeded inside todo block: drawdriverstring playback.6: GdipPlayMetafileRecord failed with stat 0 metafile.c:289: Test succeeded inside todo block: drawdriverstring playback.6: expected record type 0x4036, got 0x4036 metafile.c:289: Test failed: drawdriverstring playback.7: expected record type 0x4002, got 0x21 metafile.c:289: Test failed: drawdriverstring playback.8: expected record type 0xe, got 0x62 metafile.c:297: Test failed: drawdriverstring playback: unexpected record 0x4c
I've attached the metafile I tested against, which was generated on a Windows 10 VM. Would you mind attaching the metafile for which deserialization fails?