From: Christos Zoulas Date: Sun, 20 Apr 2008 22:24:45 +0000 (+0000) Subject: From Abel Cheung: Fix the WMF magic. X-Git-Tag: FILE5_05~402 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abd6604948d522adba812e1d2b313b210d44dc60;p=file From Abel Cheung: Fix the WMF magic. --- diff --git a/magic/Magdir/msdos b/magic/Magdir/msdos index 4ffda53b..90bacb46 100644 --- a/magic/Magdir/msdos +++ b/magic/Magdir/msdos @@ -621,22 +621,10 @@ # Windows Enhanced Metafile (EMF) # See msdn.microsoft.com/archive/en-us/dnargdi/html/msdn_enhmeta.asp -# for further information. Note that "0 lelong 1" should be true i.e. -# the first double word in the file should be 1. With the extended -# syntax available by some file commands you could write: -# 0 lelong 1 -# &40 ulelong 0x464D4520 Windows Enhanced Metafile (EMF) image data -#40 ulelong 0x464D4520 Windows Enhanced Metafile (EMF) image data -#>44 ulelong x version 0x%x. -# If the description has a length greater than zero, it exists and is -# found at offset (*64). -#>64 ulelong >0 Description available at offset 0x%x -#>>60 ulelong >0 (length 0x%x) -# Note it would be better to print out the description, which is found -# as below. Unfortunately the following only prints out the first couple -# of characters instead of all the "description length" -# number of characters -- indicated by the ulelong at offset 60. -#>>(64.l) lestring16 >0 Description: %15.15s +# for further information. +0 ulelong 1 +>40 string \ EMF Windows Enhanced Metafile (EMF) image data +>>44 ulelong x version 0x%x # From: Alex Beregszaszi 0 string COWD VMWare3