xref: /dragonfly/contrib/file/magic/Magdir/fonts (revision cfd1aba3)
1
2#------------------------------------------------------------------------------
3# $File: fonts,v 1.23 2010/09/20 18:55:20 rrt Exp $
4# fonts:  file(1) magic for font data
5#
60	search/1	FONT		ASCII vfont text
70	short		0436		Berkeley vfont data
80	short		017001		byte-swapped Berkeley vfont data
9
10# PostScript fonts (must precede "printer" entries), quinlan@yggdrasil.com
110	string		%!PS-AdobeFont-1.	PostScript Type 1 font text
12>20	string		>\0			(%s)
136	string		%!PS-AdobeFont-1.	PostScript Type 1 font program data
140	string		%!FontType1	PostScript Type 1 font program data
156	string		%!FontType1	PostScript Type 1 font program data
160	string		%!PS-Adobe-3.0\ Resource-Font	PostScript Type 1 font text
17
18# X11 font files in SNF (Server Natural Format) format
190	belong		00000004		X11 SNF font data, MSB first
200	lelong		00000004		X11 SNF font data, LSB first
21
22# X11 Bitmap Distribution Format, from Daniel Quinlan (quinlan@yggdrasil.com)
230	search/1	STARTFONT\ 		X11 BDF font text
24
25# X11 fonts, from Daniel Quinlan (quinlan@yggdrasil.com)
26# PCF must come before SGI additions ("MIPSEL MIPS-II COFF" collides)
270	string		\001fcp			X11 Portable Compiled Font data
28>12	byte		0x02			\b, LSB first
29>12	byte		0x0a			\b, MSB first
300	string		D1.0\015		X11 Speedo font data
31
32#------------------------------------------------------------------------------
33# FIGlet fonts and controlfiles
34# From figmagic supplied with Figlet version 2.2
35# "David E. O'Brien" <obrien@FreeBSD.ORG>
360	string		flf		FIGlet font
37>3	string		>2a		version %-2.2s
380	string		flc		FIGlet controlfile
39>3	string		>2a		version %-2.2s
40
41# libGrx graphics lib fonts, from Albert Cahalan (acahalan@cs.uml.edu)
42# Used with djgpp (DOS Gnu C++), sometimes Linux or Turbo C++
430	belong		0x14025919	libGrx font data,
44>8	leshort		x		%dx
45>10	leshort		x		\b%d
46>40	string		x		%s
47# Misc. DOS VGA fonts, from Albert Cahalan (acahalan@cs.uml.edu)
480	belong		0xff464f4e	DOS code page font data collection
497	belong		0x00454741	DOS code page font data
507	belong		0x00564944	DOS code page font data (from Linux?)
514098	string		DOSFONT		DOSFONT2 encrypted font data
52
53# downloadable fonts for browser (prints type) anthon@mnt.org
540	string		PFR1		PFR1 font
55>102	string		>0		\b: %s
56
57# True Type fonts
580	string	\000\001\000\000\000	TrueType font data
59!:mime application/x-font-ttf
60
610	string		\007\001\001\000Copyright\ (c)\ 199	Adobe Multiple Master font
620	string		\012\001\001\000Copyright\ (c)\ 199	Adobe Multiple Master font
63
64# TrueType/OpenType font collections (.ttc)
65# http://www.microsoft.com/typography/otspec/otff.htm
660	string		ttcf		TrueType font collection data
67>4	belong		0x00010000	\b, 1.0
68>>8	belong		>0		\b, %d fonts
69>4	belong		0x00020000	\b, 2.0
70>>8	belong		>0		\b, %d fonts
71# 0x44454947 = 'DSIG'
72>>>16	belong		0x44534947	\b, digitally signed
73
74# Opentype font data from Avi Bercovich
750	string		OTTO		OpenType font data
76!:mime application/vnd.ms-opentype
77
78# Gürkan Sengün <gurkan@linuks.mine.nu>, www.linuks.mine.nu
790	string		SplineFontDB:	Spline Font Database
80!:mime application/vnd.font-fontforge-sfd
81>14	string		x		version %s
82
83# EOT
8434	string		LP		Embedded OpenType (EOT)
85!:mime application/vnd.ms-fontobject
86