]> granicus.if.org Git - file/commitdiff
PR/576: Rin Okuyama: Fix endianness info of PCF fonts
authorChristos Zoulas <christos@zoulas.com>
Thu, 1 Dec 2016 15:30:33 +0000 (15:30 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 1 Dec 2016 15:30:33 +0000 (15:30 +0000)
magic/Magdir/fonts

index be489cba01e0d18cd38a8a9c2cc9c2647780372f..e53daceee891e48141d8ae54f96282580b7c1a97 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: fonts,v 1.33 2016/09/14 01:26:26 christos Exp $
+# $File: fonts,v 1.34 2016/12/01 15:30:33 christos Exp $
 # fonts:  file(1) magic for font data
 #
 0      search/1        FONT            ASCII vfont text
 
 # X11 fonts, from Daniel Quinlan (quinlan@yggdrasil.com)
 # PCF must come before SGI additions ("MIPSEL MIPS-II COFF" collides)
-0      string          \001fcp                 X11 Portable Compiled Font data
->12    byte            0x02                    \b, LSB first
->12    byte            0x0a                    \b, MSB first
+0      string          \001fcp                 X11 Portable Compiled Font data,
+>12    lelong          ^0x08                   bit: LSB,
+>12    lelong          &0x08                   bit: MSB,
+>12    lelong          ^0x04                   byte: LSB first
+>12    lelong          &0x04                   byte: MSB first
 0      string          D1.0\015                X11 Speedo font data
 
 #------------------------------------------------------------------------------