]> granicus.if.org Git - file/commitdiff
PR/189: Recognize woff files
authorChristos Zoulas <christos@zoulas.com>
Sun, 26 Aug 2012 10:32:10 +0000 (10:32 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 26 Aug 2012 10:32:10 +0000 (10:32 +0000)
magic/Magdir/fonts

index 917d372e6ef63d03b6c39ec45bcbb289360fab86..2fc06479eb10328c7b4df38cd5da42245707eddc 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: fonts,v 1.23 2010/09/20 18:55:20 rrt Exp $
+# $File: fonts,v 1.24 2012/08/26 10:32:10 christos Exp $
 # fonts:  file(1) magic for font data
 #
 0      search/1        FONT            ASCII vfont text
 # EOT
 34     string          LP              Embedded OpenType (EOT)
 !:mime application/vnd.ms-fontobject
+
+# Web Open Font Format (.woff)
+# http://www.w3.org/TR/WOFF/
+0      string          wOFF    Web Open Font Format
+>4     belong          x       \b, flavor %d
+>8     belong          x       \b, length %d
+>20    beshort         x       \b, version %hd
+>22    beshort         x       \b.%hd