Coded Font file

The Coded Font file (ICODED.FNT) maps AFP coded fonts to their AFP character sets and AFP code pages.

Two Coded Font files can be used with the Viewer:
ICODED.FNT
This file contains definitions for approximately 2500 IBM-supplied coded fonts.
CODED.FNT
You can create this optional file to define a list of any coded fonts you have created. If you create a CODED.FNT file, you must place it in the FONT subdirectory.
If a CODED.FNT file exists in the FONT subdirectory, it is searched first for the coded fonts used in an AFP file. If the coded font name is not found in CODED.FNT or if CODED.FNT does not exist, only the Viewer-supplied ICODED.FNT file is searched.
Figure 13. Example of the partial contents of a CODED.FNT file
X?A155N2 = C?A155N1, T1DCDCFS
X?AE10 = C?S0AE10, T1S0AE10
X?GT10 = C?D0GT10, T1D0BASE
X?ST15 = C?D0ST15, T1D0BASE
X?A0770C = C?A07700, T1DCDCFS
X?A0770I = C?A07700, T1GI0361
X0T0550C = C0T05500, T1DCDCFS

Coded Font file rules

  • A question mark (?) can be used as the wild-card character only for the second character in the coded font name and the character set name. This allows all the character rotations of the coded fonts to be handled with one entry for searching.
    Note: A sequential search is performed for the coded font, and the first match is used (including the wild-card character).
  • After the coded font name, the character set name must be listed first, followed by the code page name.
  • The character set and code page must be separated by a comma.