User Guide
Editing Fonts
73
Definition Encoding Tables
This kind of encoding table has no reference to the character encoding and
is used primarily to organise a collection of glyphs in some useful way. For
example, if your font contains several glyphs representing the ‘A’
character, like “A.smallcaps”, “A.heading”, “A.swash”, “A.lowered”, it could
be a good idea to have them visually close in the Font Window:
You can do this by creating an .ENC file that enumerates the characters
that you want to arrange. Note that it is not required to put any codes into
a definition encoding table, so the body of the .ENC file might look
something like this:
%%FONTLAB ENCODING: 1001; A Glyph Definition Encoding
A.smallcaps
A.heading
A.swash
A.lowered
You can use this form of the encoding table as a template for your font so
that you will not miss an important glyph. Please remember, however, that
you cannot use this table for any kind of encoding. You must switch to one
of the mapping encoding tables or to Unicode-based Ranges or Codepages
mode to check the encoding of your font.