2 #------------------------------------------------------------------------------
3 # $File: fonts,v 1.27 2014/04/30 21:41:02 christos Exp $
4 # fonts: file(1) magic for font data
6 0 search/1 FONT ASCII vfont text
7 0 short 0436 Berkeley vfont data
8 0 short 017001 byte-swapped Berkeley vfont data
10 # PostScript fonts (must precede "printer" entries), quinlan@yggdrasil.com
11 0 string %!PS-AdobeFont-1. PostScript Type 1 font text
13 6 string %!PS-AdobeFont-1. PostScript Type 1 font program data
14 0 string %!FontType1 PostScript Type 1 font program data
15 6 string %!FontType1 PostScript Type 1 font program data
16 0 string %!PS-Adobe-3.0\ Resource-Font PostScript Type 1 font text
18 # X11 font files in SNF (Server Natural Format) format
19 # updated by Joerg Jenderek at Feb 2013
20 # http://computer-programming-forum.com/51-perl/8f22fb96d2e34bab.htm
21 0 belong 00000004 X11 SNF font data, MSB first
22 #>104 belong 00000004 X11 SNF font data, MSB first
23 !:mime application/x-font-sfn
24 # GRR: line below too general as it catches also Xbase index file t3-CHAR.NDX
26 >104 lelong 00000004 X11 SNF font data, LSB first
27 !:mime application/x-font-sfn
29 # X11 Bitmap Distribution Format, from Daniel Quinlan (quinlan@yggdrasil.com)
30 0 search/1 STARTFONT\ X11 BDF font text
32 # X11 fonts, from Daniel Quinlan (quinlan@yggdrasil.com)
33 # PCF must come before SGI additions ("MIPSEL MIPS-II COFF" collides)
34 0 string \001fcp X11 Portable Compiled Font data
35 >12 byte 0x02 \b, LSB first
36 >12 byte 0x0a \b, MSB first
37 0 string D1.0\015 X11 Speedo font data
39 #------------------------------------------------------------------------------
40 # FIGlet fonts and controlfiles
41 # From figmagic supplied with Figlet version 2.2
42 # "David E. O'Brien" <obrien@FreeBSD.ORG>
43 0 string flf FIGlet font
44 >3 string >2a version %-2.2s
45 0 string flc FIGlet controlfile
46 >3 string >2a version %-2.2s
48 # libGrx graphics lib fonts, from Albert Cahalan (acahalan@cs.uml.edu)
49 # Used with djgpp (DOS Gnu C++), sometimes Linux or Turbo C++
50 0 belong 0x14025919 libGrx font data,
54 # Misc. DOS VGA fonts, from Albert Cahalan (acahalan@cs.uml.edu)
55 0 belong 0xff464f4e DOS code page font data collection
56 7 belong 0x00454741 DOS code page font data
57 7 belong 0x00564944 DOS code page font data (from Linux?)
58 4098 string DOSFONT DOSFONT2 encrypted font data
60 # downloadable fonts for browser (prints type) anthon@mnt.org
61 0 string PFR1 PFR1 font
65 0 string \000\001\000\000\000 TrueType font data
66 !:mime application/x-font-ttf
68 0 string \007\001\001\000Copyright\ (c)\ 199 Adobe Multiple Master font
69 0 string \012\001\001\000Copyright\ (c)\ 199 Adobe Multiple Master font
71 # TrueType/OpenType font collections (.ttc)
72 # http://www.microsoft.com/typography/otspec/otff.htm
73 0 string ttcf TrueType font collection data
74 >4 belong 0x00010000 \b, 1.0
75 >>8 belong >0 \b, %d fonts
76 >4 belong 0x00020000 \b, 2.0
77 >>8 belong >0 \b, %d fonts
79 >>>16 belong 0x44534947 \b, digitally signed
81 # Opentype font data from Avi Bercovich
82 0 string OTTO OpenType font data
83 !:mime application/vnd.ms-opentype
85 # Gurkan Sengun <gurkan@linuks.mine.nu>, www.linuks.mine.nu
86 0 string SplineFontDB: Spline Font Database
87 !:mime application/vnd.font-fontforge-sfd
88 >14 string x version %s
91 34 string LP Embedded OpenType (EOT)
92 !:mime application/vnd.ms-fontobject
94 # Web Open Font Format (.woff)
95 # http://www.w3.org/TR/WOFF/
96 0 string wOFF Web Open Font Format
97 >4 belong x \b, flavor %d
98 >8 belong x \b, length %d
99 >20 beshort x \b, version %d