From cef1a3b36f21bddd204cbeffd43c486de345127b Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Thu, 1 Dec 2016 15:30:33 +0000 Subject: [PATCH] PR/576: Rin Okuyama: Fix endianness info of PCF fonts --- magic/Magdir/fonts | 10 ++++++---- 1 file 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 #------------------------------------------------------------------------------ -- 2.40.0