| 1 |
TrueType and OpenType tables supported by FontForge |
| 2 |
=================================================== |
| 3 |
|
| 4 |
`Apple <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6.html>`__, |
| 5 |
`MS <http://www.microsoft.com/typography/tt/tt.htm>`__ and |
| 6 |
`Adobe <http://partners.adobe.com/public/developer/opentype/index_spec.html>`__ |
| 7 |
all have their descriptions of TrueType and OpenType. MS and Adobe's versions |
| 8 |
are essentially the same, while Apple's differ significantly from either. |
| 9 |
|
| 10 |
.. list-table:: |
| 11 |
:header-rows: 1 |
| 12 |
:widths: 5 5 80 5 5 |
| 13 |
|
| 14 |
* - name |
| 15 |
- long name |
| 16 |
- FontForge's use |
| 17 |
- Apple docs |
| 18 |
- Adobe docs |
| 19 |
* - avar |
| 20 |
- axis variation |
| 21 |
- Used to specify piecewise linear sections of axes for distortable fonts |
| 22 |
- `avar <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6avar.html>`__ |
| 23 |
- * |
| 24 |
* - BASE |
| 25 |
- baseline data |
| 26 |
- Provides information on baseline positioning and per-script line heights in |
| 27 |
OpenType. |
| 28 |
- * |
| 29 |
- `BASE <http://partners.adobe.com/public/developer/opentype/index_base.html>`__ |
| 30 |
* - bsln |
| 31 |
- baseline data |
| 32 |
- Provides information on baseline positioning for AAT. |
| 33 |
- `bsln <http://developer.apple.com/textfonts/TrueType-Reference-Manual/RM06/Chap6bsln.html>`__ |
| 34 |
- * |
| 35 |
* - BDF |
| 36 |
- X11 BDF header |
| 37 |
- This table is not part of the official TrueType or OpenType specs. It |
| 38 |
contains the header information from old bdf fonts. I describe its format |
| 39 |
:doc:`here <non-standard>`. |
| 40 |
- * |
| 41 |
- * |
| 42 |
* - bdat |
| 43 |
- bitmap data |
| 44 |
- Provides the actual bitmap data for all bitmap glyphs in Apple fonts. 'EBDT' |
| 45 |
is used by MS/Adobe instead (and has the same format) |
| 46 |
- `bdat <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6bdat.html>`__ |
| 47 |
- * |
| 48 |
* - bhed |
| 49 |
- bitmap font header |
| 50 |
- Replaces the 'head' table in Apple's bitmap only fonts. (similar to 'head') |
| 51 |
- `bhed <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6bhed.html>`__ |
| 52 |
- * |
| 53 |
* - bloc |
| 54 |
- bitmap location data |
| 55 |
- Provides pointers to the appropriate bitmap data for each bitmap glyph in |
| 56 |
Apple fonts. 'EBLC' is used by MS/Adobe instead (and has the same format) |
| 57 |
- `bloc <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6bloc.html>`__ |
| 58 |
- * |
| 59 |
* - CFF |
| 60 |
- `Compact Font Format <http://adobe-type-tools.github.io/font-tech-notes/pdfs/5176.CFF.pdf>`__ |
| 61 |
- Provides all the outline data (and sometimes glyph names as well) for the |
| 62 |
PostScript |
| 63 |
`Type2 <http://adobe-type-tools.github.io/font-tech-notes/pdfs/5177.Type2.pdf>`__ |
| 64 |
font that is the heart of an OpenType font. Vaguely equivalent to 'glyf' , |
| 65 |
'loca' and 'post' combined. |
| 66 |
- * |
| 67 |
- `CFF <http://partners.adobe.com/public/developer/opentype/index_cff.html>`__ |
| 68 |
* - cmap |
| 69 |
- character code mapping |
| 70 |
- Provides at least one encoding from a stream of bytes to glyphs in the font. |
| 71 |
FontForge provides at least three encodings in every font (one for Mac Roman, |
| 72 |
one for Mac Unicode, one for MS Unicode). For some fonts it will additionally |
| 73 |
provide a CJK encoding (Big5, SJIS, etc) or an extended unicode encoding |
| 74 |
which will cover code points outside of the BMP. |
| 75 |
|
| 76 |
For fonts with special 1-byte encodings (such as symbol) it will provide a |
| 77 |
"symbol" encoding which maps a known page in the corporate use area to the |
| 78 |
glyphs. |
| 79 |
- `cmap <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6cmap.html>`__ |
| 80 |
- `cmap <http://partners.adobe.com/public/developer/opentype/index_cmap.html>`__ |
| 81 |
* - cvar |
| 82 |
- variations on cvt table |
| 83 |
- Used to specify hinting differences in distortable fonts |
| 84 |
- `cvar <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6cvar.html>`__ |
| 85 |
- * |
| 86 |
* - cvt |
| 87 |
- control value table |
| 88 |
- FontForge uses this when it attempts to hint truetype fonts (FontForge will |
| 89 |
read it from a font and save it into another). |
| 90 |
- `cvt <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6cvt.html>`__ |
| 91 |
- `cvt <http://partners.adobe.com/public/developer/opentype/index_cvt.html>`__ |
| 92 |
* - EBDT |
| 93 |
- embedded bitmap data |
| 94 |
- Provides the actual bitmap data for all bitmap glyphs in MS/Adobe fonts. |
| 95 |
'bdat' is used by Apple instead (and has the same format) |
| 96 |
- * |
| 97 |
- `EBDT <http://partners.adobe.com/public/developer/opentype/index_ebdt.html>`__ |
| 98 |
* - EBLC |
| 99 |
- embedded bitmap location |
| 100 |
- Provides pointers to the appropriate bitmap data for each bitmap glyph in |
| 101 |
MS/Adobe fonts. 'bloc' is used by Apple instead (and has the same format) |
| 102 |
- * |
| 103 |
- `EBLC <http://partners.adobe.com/public/developer/opentype/index_eblc.html>`__ |
| 104 |
* - EBSC |
| 105 |
- embedded bitmap scaling |
| 106 |
- Provides information on how to scale bitmaps (on those rare occasions where |
| 107 |
this is desirable). FontForge uses it when making bitmap only fonts for |
| 108 |
windows. |
| 109 |
- `EBSC <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6EBSC.html>`__ |
| 110 |
- `EBSC <http://partners.adobe.com/public/developer/opentype/index_ebsc.html>`__ |
| 111 |
* - feat |
| 112 |
- layout feature table |
| 113 |
- Maps features specified in Apple's 'morx' (or 'mort') tables into names |
| 114 |
provided in the 'name' table. FontForge generates this when it generates a |
| 115 |
'morx' table. |
| 116 |
- `feat <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6feat.html>`__ |
| 117 |
- * |
| 118 |
* - FFTM |
| 119 |
- FontForge timestamp |
| 120 |
- This table is unique to FontForge. It contains three timestamps: First |
| 121 |
FontForge's version date, then when the font was generated, and when the font |
| 122 |
was created. I describe its format :doc:`here <non-standard>`. |
| 123 |
- * |
| 124 |
- * |
| 125 |
* - fpgm |
| 126 |
- font program |
| 127 |
- FontForge never generates this, but it will preserve it and allows users to |
| 128 |
edit it. |
| 129 |
- `fpgm <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6fpgm.html>`__ |
| 130 |
- `fpgm <http://partners.adobe.com/public/developer/opentype/index_fpgm.html>`__ |
| 131 |
* - fvar |
| 132 |
- font variations |
| 133 |
- Provides top level information about distortable fonts. Specifies the types |
| 134 |
of distortions possible. |
| 135 |
- `fvar <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6fvar.html>`__ |
| 136 |
- * |
| 137 |
* - gasp |
| 138 |
- grid-fitting and scan conversion |
| 139 |
- When FontForge does not attempt to hint a truetype font it will generate this |
| 140 |
table which tells the rasterizer not to to do grid-fitting (hinting) but to |
| 141 |
do anti-aliasing instead. |
| 142 |
- `gasp <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6gasp.html>`__ |
| 143 |
- `gasp <http://partners.adobe.com/public/developer/opentype/index_gasp.html>`__ |
| 144 |
* - GDEF |
| 145 |
- glyph definition |
| 146 |
- Divides glyphs into various classes that make using the GPOS/GSUB tables |
| 147 |
easier. Also provides internal caret positions for ligatures. It is |
| 148 |
approximately equivalent to Apple's 'prop' and 'lcar' tables combined. |
| 149 |
- * |
| 150 |
- `GDEF <http://partners.adobe.com/public/developer/opentype/index_table_formats5.html>`__ |
| 151 |
* - glyf |
| 152 |
- glyph outline |
| 153 |
- Provides outline information for truetype glyphs. Vaguely equivalent to 'CFF |
| 154 |
'. |
| 155 |
- `glyf <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6glyf.html>`__ |
| 156 |
- `glyf <http://partners.adobe.com/public/developer/opentype/index_glyf.html>`__ |
| 157 |
* - GPOS |
| 158 |
- glyph positioning |
| 159 |
- Provides kerning information, mark-to-base, etc. for opentype fonts. See the |
| 160 |
:ref:`chapter on GPOS <gposgsub.GPOS>` in FontForge for more information. |
| 161 |
Vaguely equivalent to 'kern' and 'opbd' tables. |
| 162 |
- * |
| 163 |
- `GPOS <http://partners.adobe.com/public/developer/opentype/index_table_formats1.html>`__ |
| 164 |
* - GSUB |
| 165 |
- glyph substitution |
| 166 |
- Provides ligature information, swash, etc. for opentype fonts. See the |
| 167 |
:ref:`chapter on GSUB <gposgsub.GSUB>` in FontForge for more information. |
| 168 |
Vaguely equivalent to 'morx'. |
| 169 |
- * |
| 170 |
- `GSUB <http://partners.adobe.com/public/developer/opentype/index_table_formats1.html>`__ |
| 171 |
* - gvar |
| 172 |
- glyph variations |
| 173 |
- This table contains the meat of a distortable font. It specifies how each |
| 174 |
glyph can be distorted. |
| 175 |
- `gvar <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6gvar.html>`__ |
| 176 |
- * |
| 177 |
* - head |
| 178 |
- font header |
| 179 |
- Contains general font information, such as the size of the em-square, a time |
| 180 |
stamp, check sum information, etc. |
| 181 |
- `head <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6head.html>`__ |
| 182 |
- `head <http://partners.adobe.com/public/developer/opentype/index_head.html>`__ |
| 183 |
* - hhea |
| 184 |
- horizontal header |
| 185 |
- This table contains font-wide horizontal metric information. |
| 186 |
- `hhea <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6hhea.html>`__ |
| 187 |
- `hhea <http://partners.adobe.com/public/developer/opentype/index_hhea.html>`__ |
| 188 |
* - hmtx |
| 189 |
- horizontal metrics |
| 190 |
- This contains the per-glyph horizontal metrics. |
| 191 |
- `hmtx <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6hmtx.html>`__ |
| 192 |
- `hmtx <http://partners.adobe.com/public/developer/opentype/index_hmtx.html>`__ |
| 193 |
* - kern |
| 194 |
- kerning |
| 195 |
- Provides kerning information for Apple's truetype fonts (and for older MS |
| 196 |
truetype fonts). In OpenType fonts this information is contained in the GPOS |
| 197 |
table. |
| 198 |
- `kern <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6kern.html>`__ |
| 199 |
- `kern <http://partners.adobe.com/public/developer/opentype/index_kern.html>`__ |
| 200 |
* - lcar |
| 201 |
- ligature caret |
| 202 |
- This table provides the location of carets within ligatures in an Apple font. |
| 203 |
This information is contained in the GDEF table in opentype fonts. |
| 204 |
- `lcar <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6lcar.html>`__ |
| 205 |
- * |
| 206 |
* - loca |
| 207 |
- glyph location |
| 208 |
- This provides a pointer into the 'glyf' table for each glyph in the font. It |
| 209 |
is required for truetype and meaningless for opentype (where vaguely |
| 210 |
equivalent information is provided in the CFF table). |
| 211 |
- `loca <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6loca.html>`__ |
| 212 |
- `loca <http://partners.adobe.com/public/developer/opentype/index_loca.html>`__ |
| 213 |
* - MATH |
| 214 |
- mathematical typesetting |
| 215 |
- Provides general information needed for mathematical typesetting. |
| 216 |
|
| 217 |
This is a new table (August 2007) and there is currently no publicly |
| 218 |
available documentation for it. |
| 219 |
- * |
| 220 |
- * |
| 221 |
* - maxp |
| 222 |
- maximum profile |
| 223 |
- Provides general "maximum" information about the font. This contains: the |
| 224 |
maximum number of glyphs in a font, the maximum number of points in a glyph, |
| 225 |
the maximum number of references in a glyph, etc. |
| 226 |
- `maxp <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6maxp.html>`__ |
| 227 |
- `maxp <http://partners.adobe.com/public/developer/opentype/index_maxp.html>`__ |
| 228 |
* - mort |
| 229 |
- metamorphosis |
| 230 |
- FontForge will read this table but not generate it. This table has been |
| 231 |
replaced by the 'morx' table which will be generated instead. It is vaguely |
| 232 |
equivalent to the GSUB table. |
| 233 |
- `mort <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6mort.html>`__ |
| 234 |
- * |
| 235 |
* - morx |
| 236 |
- extended metamorphosis |
| 237 |
- Provides ligature information, swash, etc. for apple's truetype fonts. |
| 238 |
FontForge can read and write this table. See the |
| 239 |
:ref:`chapter on morx <gposgsub.AAT>` in FontForge for more information. |
| 240 |
Vaguely equivalent to 'GSUB'. |
| 241 |
- `morx <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6morx.html>`__ |
| 242 |
- * |
| 243 |
* - name |
| 244 |
- name |
| 245 |
- Provides certain standard strings relevant to the font (font name, family |
| 246 |
name, license, etc.) in various languages. In Apple fonts also provides the |
| 247 |
names of various features of the 'morx'/'mort' table. |
| 248 |
- `name <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html>`__ |
| 249 |
- `name <http://partners.adobe.com/public/developer/opentype/index_name.html>`__ |
| 250 |
* - opbd |
| 251 |
- optical bounds |
| 252 |
- This table provides optical bound information for each glyph in the table in |
| 253 |
an Apple font. This information may also be provided in the GPOS table of an |
| 254 |
opentype font. |
| 255 |
- `opbd <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6opbd.html>`__ |
| 256 |
- * |
| 257 |
* - PfEd |
| 258 |
- FontForge's personal table |
| 259 |
- This table is unique to FontForge. It can contain things like FontForge's |
| 260 |
comments, and colors.I describe its format :doc:`here <non-standard>`. |
| 261 |
- * |
| 262 |
- * |
| 263 |
* - post |
| 264 |
- glyph name and postscript compatibility |
| 265 |
- This table provides some additional postscript information (italic angle), |
| 266 |
but mostly it provides names for all glyphs. |
| 267 |
- `post <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6post.html>`__ |
| 268 |
- `post <http://partners.adobe.com/public/developer/opentype/index_post.html>`__ |
| 269 |
* - prep |
| 270 |
- cvt program |
| 271 |
- FontForge never generatest this table itself, but it will retain it when |
| 272 |
reading other fonts, and it allows users to edit it. |
| 273 |
- `prep <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6prep.html>`__ |
| 274 |
- `prep <http://partners.adobe.com/public/developer/opentype/index_prep.html>`__ |
| 275 |
* - prop |
| 276 |
- glyph properties |
| 277 |
- Provides the unicode properties of each glyph for an Apple font. This table |
| 278 |
bears some similarities to the GDEF table. |
| 279 |
- `prop <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6prop.html>`__ |
| 280 |
- * |
| 281 |
* - TeX |
| 282 |
- TeX information |
| 283 |
- This table is unique to FontForge and is for use by TeX. I describe its |
| 284 |
format :doc:`here <non-standard>`. |
| 285 |
- * |
| 286 |
- * |
| 287 |
* - vhea |
| 288 |
- vertical header |
| 289 |
- FontForge generates this table for fonts with vertical metrics. This table |
| 290 |
contains font-wide vertical metric information. |
| 291 |
- `vhea <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6vhea.html>`__ |
| 292 |
- `vhea <http://partners.adobe.com/public/developer/opentype/index_vhea.html>`__ |
| 293 |
* - vmtx |
| 294 |
- vertical metrics |
| 295 |
- FontForge generates this table for fonts with vertical metrics. This contains |
| 296 |
the per-glyph vertical metrics. |
| 297 |
- `vmtx <http://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6vmtx.html>`__ |
| 298 |
- `vmtx <http://partners.adobe.com/public/developer/opentype/index_vmtx.html>`__ |
| 299 |
|
| 300 |
:doc:`Advanced Typography tables in FontForge <gposgsub>` |