IBM Print Transforms from AFP for Infoprint Server for z/OS
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Font-mapping table format

IBM Print Transforms from AFP for Infoprint Server for z/OS
G325-2634-02

Font-mapping table format

The font-mapping table is a UNIX text file that can be stored anywhere in the z/OS® file system. The font-mapping table has this syntax:

MAPFONT RFONT=raster charset, OFONT=outline charset, [VSIZE=point size,] [HSCALE=width %];
raster charset
The name of the raster font character set resource name. If the input AFP print file specifies this character set name, the transform uses the outline font specified in the OFONT parameter. The raster font name is typically prefixed with the characters C0.

You can use a wildcard (*) in the name of the raster font to map a typeface family of raster fonts to a corresponding typeface family of outline fonts.

Note:
Be sure you understand character set names and font mapping before you use the wildcard because the transform does not check for mapping consistency.
Examples:
  1. To map the raster AFP font "normal typeface Helvetica 11 point" to the corresponding outline AFP font "normal typeface Helvetica", specify:
    MAPFONT RFONT=C0H200A0, OFONT=CZH200;
  2. To map all raster Helvetica bold typeface to the corresponding outline Helvetica bold typeface:
    MAPFONT RFONT=C0H40*, OFONT=CZH400;
outline charset
The name of the outline font character set that you want to use in place of the font specified in RFONT. File names for outline font character set names typically begin with the letters CZ.
Example:
To map a raster font to the outline AFP font Helvetica Normal, specify OFONT=CZH200.
point size
The size, in points, that the outline font is to be rendered at. Specify a number with up to three decimal points.
Default:
The point size extracted from the font specified by the RFONT parameter.
Example:
To indicate that the outline font is to be rendered at 17 and one half points, specify VSIZE=17.5.
width %
How the transform scales the widths of the characters, specified as a percentage.
Default:
100 (normal width)
Example:
To produce outline fonts at half their regular width, specify HSCALE=50. Similarly, to produce output that is twice the normal width, specify HSCALE=200.

For best font substitutions, match a raster font with an outline font of the same font family, and then use HSCALE and VSIZE as necessary to fine-tune any differences that might occur. For information about matching raster and outline fonts, see , .

Notes:
  1. Code the VSIZE parameter when the RFONT parameter specifies a fixed metric AFP raster font.
  2. If HSCALE is used incorrectly it can produce incorrect output. Too large a value could cause character overlap.
  3. If you want the outline font characters to have the same appearance as the raster font characters, use the same font family for the RFONT and OFONT character sets. If you are using fonts from an installed AFP library, positions 3-6 of the character set name are identical for both the raster and outline font. For example, C0B20C** is the Bookmaster raster font character set name (first six characters), and CZB20C is the character set name for the Bookmaster outline font.
  4. Code a MAPFONT statement for each font that you want to map. If duplicate RFONT statements exist, the first statement found is used.
  5. Specify a comma between the parameters, and end each MAPFONT statement with a semicolon.
  6. Start comments with a semicolon in column 1, for example:
    ;This is a comment

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014