User`s manual
Section 5: Fonts
Axis AFP User’s Manual 49
Extended Font Mapping
This section describes an alternative method for selecting printer specific, soft-
loaded or cartridge resident font by FGID number. Extended font mapping avoids
the limitation of a restricted character set (see the previous User Definable Fonts
section), but is more complex to manage.
The extended font mapping feature consists of two parts; the encoding section and
the mapping section. Both sections require you to define specific dictionaries out-
side the PostScript server loop.
The Encoding
Dictionary
The encoding dictionary (EDICT) contains the original font names as keys, and
the encoded font names as values. The encoding procedure will be the same as the
one used by the standard font encoding in the postScript prologue.
The example below shows how to use Palatino-Roman as the user definable font
UF0 with the full Axis AFP character set:
You should have a working knowledge of PostScript command language pro-
gramming and PostScript font handling before implementing the procedures
described below.
<Ctrl-D>
serverdict begin 0 exitserver % exit the server loop
/EDICT % name of the encoding dictionary
1 dict dup % just one EDICT entry
/Palatino-Roman /UF0 put % store the key/value pair
def % define EDICT
<Ctrl-D> % return to server loop










