PSF for z/OS: User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Obtaining and referencing fonts

PSF for z/OS: User's Guide
S550-0435-04

Obtaining and referencing fonts

The way you obtain and reference fonts depends on whether they are FOCA fonts or TrueType and OpenType fonts.

FOCA fonts

FOCA fonts are provided in the optional Compatibility Fonts feature of PSF, the AFP Font Collection, Program Number 5648-B33, Infoprint Fonts for z/OS®, Program Number 5648-E76, (outline fonts only), and the z/OS Font Collection, a base feature of z/OS V2R1.

Double-byte 240 dpi raster fonts are available as a feature in the AFP Font Collection or in the z/OS Font Collection. Double-byte outline (scalable) fonts are available in the AFP Font Collection, in Infoprint Fonts for z/OS, or in the z/OS Font Collection. These fonts can be used on printers at any resolution, provided that the printer supports font scaling.

For MO:DCA-P data, you reference the fonts in the data stream with a Map Coded Font (MCF) structured field. Fonts used with line data or XML data are referenced in the page definition used to submit the job (see Fonts). Fonts used with traditional line data can also be referenced in the JCL used to submit the job. For information about selecting fonts in JCL, see CHARS.

To reference FOCA fonts in a user library, see USERLIB. To reference extended code pages in a user path library, see USERPATH.

TrueType and OpenType fonts

A basic set of TrueType and OpenType fonts is provided with WorldType Fonts for AFP Print Servers, an optional feature of Infoprint Fonts for Multiplatforms (Program Number 5648-E77), and the z/OS Font Collection, a base feature of z/OS V2R1. To use TrueType and OpenType fonts when you are using PSF with z/OS V1R13 or earlier, you need to use a resource installer program, such as the Font Installer for AFP Systems (an optional feature of Infoprint Fonts for Multiplatforms) or the InfoPrint AFP Resource Installer (Program Number 5639-EE2). The resource installer program installs and builds resource access tables (RATs) for TrueType and OpenType fonts that contain formal font names, paths, file names, and font attributes. The TrueType and OpenType fonts are mapped from their formal names to a path and file name that PSF can access. When you are using PSF with z/OS V2R1, a resource installer program is not necessary because the z/OS Font Collection contains prebuilt RATs for TrueType and OpenType fonts.

Keep these considerations in mind when you reference TrueType and OpenType fonts:

  • For MO:DCA-P data, you reference TrueType and OpenType fonts in the print data set by using a Map Data Resources (MDR) structured field.
  • To process complex text, you reference TrueType and OpenType fonts in the print data set. See Processing Unicode Complex Text.
  • For line data or XML data, you reference TrueType and OpenType fonts in a page definition that is referenced by the JCL for the application that generates the line data (see Fonts).
  • When you reference a TrueType and OpenType font, you can optionally specify a FOCA code page that the printer uses to interpret the print data. Otherwise, you can specify the Unicode encoding of the data.
  • When you reference a TrueType and OpenType font, you select the vertical font size, the horizontal scale factor, and the character rotation for the font.

To install TrueType and OpenType fonts in path libraries, see Using TrueType and OpenType fonts.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014