]> granicus.if.org Git - file/commitdiff
From Abel Cheung: Fix the WMF magic.
authorChristos Zoulas <christos@zoulas.com>
Sun, 20 Apr 2008 22:24:45 +0000 (22:24 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 20 Apr 2008 22:24:45 +0000 (22:24 +0000)
magic/Magdir/msdos

index 4ffda53bb249022d18aab37c5ce152068ac8c1e7..90bacb465e3b9d6de9a4641e524a45efac1f9e49 100644 (file)
 
 # 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 <alex@fsn.hu>
 0      string  COWD            VMWare3