How TrueType and OpenType fonts differ from AFP fonts

When usingTrueType fonts, you will see differences in how the fonts are specified, managed, and installed when compared to Advanced Function Presentation™ (AFP™) fonts.

Note:
In this topic, the term TrueType refers to both TrueType and OpenType fonts.
Table 1. Differences between AFP and TrueType or OpenType fonts
AFP fonts TrueType fonts
AFP fonts are i5/OS™ objects. TrueType fonts are stream files in the integrated file system.
DDS keyword FNTCHRSET is used to select AFP fonts. DDS keyword FONTNAME is used to select TrueType fonts.
Print Services Facility™ (PSF) uses a defined search algorithm to search for AFP fonts. It searches the library list associated with the job for a matching font. TrueType fonts reside in one of two locations.
  • /QIBM/ProdData/OS400/Fonts/TTFonts contains IBM-supplied fonts
  • /QIBM/UserData/OS400/Fonts/TTFonts contains user fonts.
AFP fonts are created and managed using the font resource commands: CHGCDEFNT, CHGFNTRSC, CRTFNTRSC, DLTFNTRSC, DSPCDEFNT, DSPFNTRSCA, and WRKFNTRSC. TrueType fonts have no i5/OS management commands. Instead, the fonts are installed using the Font Installer for AFP Systems feature of the Infoprint® Fonts licensed program. The generated resource access table resides in the /QIBM file system.
An AFP font is specified by using the *FNTRSC object name such as C0D0GT10. TrueType fonts are specified using a font name such as Times New Roman.
AFP fonts can be substituted when the requested font is not available. There is no font substitution with TrueType fonts.
An AFP font is marked as eligible for capture with the Change Font Resource (CHGFNTRSC) command. TrueType fonts are marked as eligible for capture by the Font Installer for AFP Systems feature of the Infoprint Fonts licensed program.
PSF will only try to capture AFP fonts if the PSF configuration object specifies FNTCAPTURE(*YES). PSF will always try to capture TrueType fonts.

Related tasks

Specify an AFP font

Specify a TrueType or OpenType font