[Mono-bugs] [Bug 81178][Nor] Changed - Metafile does not render

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 4 09:55:35 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sebastien at ximian.com.


--- shadow/81178	2007-03-27 01:22:57.000000000 -0500
+++ shadow/81178.tmp.8489	2007-04-04 09:55:35.000000000 -0400
@@ -31,6 +31,23 @@
 EMF metafile (it's not) but decodes/display it correctly.
 ------- Additional Comments From jackson at ximian.com  2007-03-19 12:29 -------
 Created an attachment (id=18929)
 RTF file that contains the image
+------- Additional Comments From sebastien at ximian.com  2007-04-04 09:55 -------
+There is no bug in the codec signature decoding :|
+The WMF without an Aldus placeable header shouldn't be detected by
+GDI+ as it's header doesn't match the signature(s) of any codec.
+However it is, somehow, detected as a EMF metafile (but it's a 16bits
+WMF). Even more messed up is that the image can still be displayed
+correctly (so the headers are obviously not used).
+This isn't the first time that the "correct" and "published" headers
+information diverges. I may have to duplicate headers so we return MS
+GDI+ compatible values while we use "valid" values to process metafiles.
+All this is probable due to the fact that GDI+ doesn't do itself a lot
+wrt metafiles (and even less correct stuff) and only delegates that
+stuff at GDI. However that doesn't explains codec signature mishandling :|

More information about the mono-bugs mailing list