summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2016-12-01 15:30:33 +0000
committerChristos Zoulas <christos@zoulas.com>2016-12-01 15:30:33 +0000
commitcef1a3b36f21bddd204cbeffd43c486de345127b (patch)
tree725c48c686914f7e402234a4a9e55d4f1aad9887
parentf8954fb6b9e759649b4c6ef07157cbbbc040f958 (diff)
downloadfile-git-cef1a3b36f21bddd204cbeffd43c486de345127b.tar.gz
PR/576: Rin Okuyama: Fix endianness info of PCF fonts
-rw-r--r--magic/Magdir/fonts10
1 files changed, 6 insertions, 4 deletions
diff --git a/magic/Magdir/fonts b/magic/Magdir/fonts
index be489cba..e53dacee 100644
--- a/magic/Magdir/fonts
+++ b/magic/Magdir/fonts
@@ -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
@@ -100,9 +100,11 @@
# 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
#------------------------------------------------------------------------------