]> granicus.if.org Git - file/commitdiff
Improve Embedded OpenType (Christoph Bield)
authorChristos Zoulas <christos@zoulas.com>
Fri, 1 Jul 2016 23:27:28 +0000 (23:27 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 1 Jul 2016 23:27:28 +0000 (23:27 +0000)
magic/Magdir/fonts

index 5e2b66ca81d5e85991ab2e6a2d78f6c8b0b34cb3..ed2bdd47faadf61cedffa0635bbfba8705beba31 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: fonts,v 1.29 2016/02/08 17:06:40 christos Exp $
+# $File: fonts,v 1.30 2016/03/22 22:27:47 christos Exp $
 # fonts:  file(1) magic for font data
 #
 0      search/1        FONT            ASCII vfont text
 >14    string          x               version %s
 
 # EOT
-34     string          LP              Embedded OpenType (EOT)
+0x40   string          \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
+>0x22  string          LP              Embedded OpenType (EOT)
+# workaround until there's lepstring16
+# >0x52        lepstring16/h   >\0             \b, %s family
+>0x52  short   !0
+>>0x54 lestring16      x               \b, %s family
 !:mime application/vnd.ms-fontobject
 
 # Web Open Font Format (.woff)