blob: aed885c89c23654db82f2f7c4c56271d6cd1c2ab [file] [log] [blame]
Werner Lemberga7235262005-08-30 00:22:46 +00001This file contains a list of various font formats. It gives the
Werner Lembergeab92f12004-04-29 05:59:49 +00002reference document and whether it is supported in FreeType 2.
3
4
5 file type:
Werner Lemberga7235262005-08-30 00:22:46 +00006 The only special case is `MAC'; on older Mac OS versions, a `file'
7 is stored as a data and a resource fork, this is, within two
8 separate data chunks. In all other cases, the font data is stored
Werner Lembergeab92f12004-04-29 05:59:49 +00009 in a single file.
10
11 wrapper format:
Werner Lemberga7235262005-08-30 00:22:46 +000012 The format used to represent the font data. In the table below it
13 is used only if the font format differs. Possible values are `SFNT'
Joel Klingheded913c22010-12-31 16:59:33 +010014 (binary), `PS' (a text header, followed by binary or text data),
15 `LZW' (compressed with either `gzip' or `compress'), and
16 `BZ2' (compressed with `bzip2`).
Werner Lembergeab92f12004-04-29 05:59:49 +000017
18 font format:
Werner Lemberga7235262005-08-30 00:22:46 +000019 How the font is to be accessed, possibly after converting the file
20 type and wrapper format into a generic form. Bitmap formats are
21 `BDF', `PCF', and one form of `WINFNT'; all others are vector
Werner Lembergeab92f12004-04-29 05:59:49 +000022 formats.
23
24 font type:
Werner Lemberga7235262005-08-30 00:22:46 +000025 Sub-formats of the font format. `SBIT' and `MACSBIT' are bitmap
Werner Lembergeab92f12004-04-29 05:59:49 +000026 formats, `MM' and `VAR' support optical axes.
27
28 glyph access:
Werner Lemberga7235262005-08-30 00:22:46 +000029 If not specified, the glyph access is `standard' to the font format.
30 Values are `CID' for CID-keyed fonts, `SYNTHETIC' for fonts which
31 are modified versions of other fonts by means of a transformation
32 matrix, `COLLECTION' for collecting multiple fonts (sharing most of
33 the data) into a single file, and `TYPE_0' for PS fonts which are to
34 be accessed in a tree-like structure.
Werner Lembergeab92f12004-04-29 05:59:49 +000035
36 FreeType driver:
Werner Lemberga7235262005-08-30 00:22:46 +000037 The module in the FreeType library which handles the specific font
38 format. A missing entry means that FreeType doesn't support the
Werner Lembergeab92f12004-04-29 05:59:49 +000039 font format (yet).
40
41
Werner Lemberga7235262005-08-30 00:22:46 +000042Please send additions and/or corrections to wl@gnu.org or to the
43FreeType developer's list at freetype-devel@nongnu.org (for subscribers
44only). If you can provide a font example for a format which isn't
Werner Lembergb01676b2005-04-18 07:13:07 +000045supported yet please send a mail too.
Werner Lembergeab92f12004-04-29 05:59:49 +000046
47
48file wrapper font font glyph FreeType reference
49type format format type access driver documents
50----------------------------------------------------------------------------
51
52--- --- BDF --- --- bdf 5005.BDF_Spec.pdf, X11
53
54
Werner Lemberg22e970a2008-09-20 12:20:21 +000055--- SFNT PS TYPE_1 --- type1 Type 1 GX Font Format
56 (for the Mac) [3]
57MAC SFNT PS TYPE_1 --- type1 Type 1 GX Font Format
58 (for the Mac) [3]
59--- SFNT PS TYPE_1 CID cid 5180.sfnt.pdf (for the Mac)
60 [3]
61MAC SFNT PS TYPE_1 CID cid 5180.sfnt.pdf (for the Mac)
62 [3]
Werner Lembergeab92f12004-04-29 05:59:49 +000063--- SFNT PS CFF --- cff OT spec, 5176.CFF.pdf
64 (`OTTO' format)
65MAC SFNT PS CFF --- cff OT spec, 5176.CFF.pdf
66 (`OTTO' format)
67--- SFNT PS CFF CID cff OT spec, 5176.CFF.pdf
68MAC SFNT PS CFF CID cff OT spec, 5176.CFF.pdf
69--- SFNT PS CFF SYNTHETIC --- OT spec, 5176.CFF.pdf
70MAC SFNT PS CFF SYNTHETIC --- OT spec, 5176.CFF.pdf
Werner Lembergb01676b2005-04-18 07:13:07 +000071--- SFNT TT SBIT --- sfnt XFree86 (bitmaps only;
72 with `head' table)
Werner Lembergeab92f12004-04-29 05:59:49 +000073--- SFNT TT MACSBIT --- sfnt OT spec (for the Mac;
74 bitmaps only; `bhed' table)
75MAC SFNT TT MACSBIT --- sfnt OT spec (for the Mac;
76 bitmaps only; `bhed' table)
77--- SFNT TT --- --- truetype OT spec (`normal' TT font)
78MAC SFNT TT --- --- truetype OT spec (`normal' TT font)
79MAC SFNT TT VAR --- truetype GX spec (`?var' tables)
80--- SFNT TT --- COLLECTION truetype OT spec (this can't be CFF)
81MAC SFNT TT --- COLLECTION truetype OT spec (this can't be CFF)
82
83
84--- --- PS TYPE_1 --- type1 T1_SPEC.pdf
85 (`normal' Type 1 font)
86MAC --- PS TYPE_1 --- type1 T1_SPEC.pdf
87 (`normal' Type 1 font)
88--- --- PS TYPE_1 CID cid PLRM.pdf (CID Font Type 0;
89 Type 9 font)
90--- --- PS MM --- type1 5015.Type1_Supp.pdf
91 (Multiple Masters)
92--- --- PS CFF --- cff 5176.CFF.pdf (`pure' CFF)
93--- --- PS CFF CID cff 5176.CFF.pdf (`pure' CFF)
94--- --- PS CFF SYNTHETIC --- 5176.CFF.pdf (`pure' CFF)
95--- PS PS CFF --- --- PLRM.pdf (Type 2) [1]
96--- PS PS CFF CID --- PLRM.pdf (Type 2) [1]
97--- PS PS CFF SYNTHETIC --- PLRM.pdf (Type 2) [1]
98--- --- PS --- TYPE_0 --- PLRM.pdf
99--- --- PS TYPE_3 --- --- PLRM.pdf (never supported)
100--- --- PS TYPE_3 CID --- PLRM.pdf (CID Font Type 1;
101 Type 10 font; never supported)
102--- PS PS TYPE_14 --- --- PLRM.pdf (Chameleon font;
103 Type 14 font; never supported?)
104--- --- PS TYPE_32 CID --- PLRM.pdf (CID Font Type 4;
105 Type 32 font; never supported?)
106--- PS TT --- --- type42 5012.Type42_Spec.pdf
107 (Type 42 font)
108--- PS TT --- CID --- PLRM.pdf (CID Font Type 2;
109 Type 11 font)
110
111
112--- ? ? CEF ? cff ?
113
114
Werner Lembergdaae9022010-03-04 10:43:31 +0100115--- --- PCF --- --- pcf X11 [4]
116--- LZW PCF --- --- pcf X11 [4]
Joel Klingheded913c22010-12-31 16:59:33 +0100117--- BZ2 PCF --- --- pcf X11 [4]
Werner Lembergeab92f12004-04-29 05:59:49 +0000118
119
Werner Lemberg4cc5df82004-04-30 09:57:49 +0000120--- --- PFR PFR0 --- pfr [2]
121--- --- PFR PFR1 --- --- (undocumented, proprietary;
122 probably never supported)
Werner Lembergeab92f12004-04-29 05:59:49 +0000123
124
125--- --- WINFNT --- --- winfonts MS Windows 3 Developer's Notes
126--- --- WINFNT VECTOR --- --- MS Windows 3 Developer's Notes
127
128
Werner Lemberga7235262005-08-30 00:22:46 +0000129[1] Support should be rather simple since this is identical to `CFF' but
130 in a PS wrapper.
Werner Lemberg4cc5df82004-04-30 09:57:49 +0000131
132[2] Official PFR specification:
133
134 http://www.bitstream.com/categories/developer/truedoc/pfrspec.html
135 http://www.bitstream.com/categories/developer/truedoc/pfrspec1.2.pdf
136
Werner Lemberga7235262005-08-30 00:22:46 +0000137 The syntax of the auxiliary data is not defined there, but is
138 partially defined in MHP 1.0.3 (also called ETSI TS 101812 V1.3.1)
139 section 7.4.
Werner Lemberg4cc5df82004-04-30 09:57:49 +0000140
141 http://www.etsi.org/
142 http://webapp.etsi.org/workprogram/Report_WorkItem.asp?WKI_ID=18799
143
144 (free registration required).
Werner Lemberg56c368c2005-06-04 23:00:25 +0000145
Werner Lemberg22e970a2008-09-20 12:20:21 +0000146[3] Support is rudimentary currently; some tables are not loaded yet.
147
Werner Lemberg4c669242010-05-11 07:24:28 +0200148[4] See
149
150 THE X WINDOW SYSTEM SERVER: X VERSION 11, RELEASE 5
151 Elias Israel, Erik Fortune, Digital Press, 1992
152 ISBN 1-55558-096-3
153
154 for a specification given in Appendix D on pgs. 436-450. However,
155 this information might be out of date; unfortunately, there is no
Werner Lemberg4cd5fd42013-01-24 13:33:06 +0100156 PCF specification available online, and this book is out of print.
Werner Lemberg4c669242010-05-11 07:24:28 +0200157 George Williams deduced the font format from the X11 sources and
158 documented it for his FontForge font editor:
Werner Lembergfc6d12a2009-01-11 10:55:45 +0000159
160 http://fontforge.sourceforge.net/pcf-format.html
161
Werner Lemberg56c368c2005-06-04 23:00:25 +0000162------------------------------------------------------------------------
163
Werner Lembergdaae9022010-03-04 10:43:31 +0100164Copyright 2004, 2005, 2008, 2009, 2010 by
Werner Lemberg56c368c2005-06-04 23:00:25 +0000165David Turner, Robert Wilhelm, and Werner Lemberg.
166
Werner Lemberga7235262005-08-30 00:22:46 +0000167This file is part of the FreeType project, and may only be used,
168modified, and distributed under the terms of the FreeType project
169license, LICENSE.TXT. By continuing to use, modify, or distribute this
170file you indicate that you have read the license and understand and
Werner Lemberg56c368c2005-06-04 23:00:25 +0000171accept it fully.
172
173
174--- end of formats.txt ---