mkfntmap command: maps PostScript fonts

Syntax

mkfntmap inputfile … [> outputfile]

Description

The mkfntmap command creates a font mapping file that contains a list of the PostScript Type 1 fonts specified in the inputfiles parameter of the command and their locations.

InfoPrint Manager for AIX or Linux includes the /usr/lpp/psf/ps/psfonts.map file.

The font map file maps the AFP outline fonts to the directory in which they were installed. If you have additional PostScript fonts or you add new PostScript fonts, use the mkfntmap command to create a font mapping file for the new fonts after they are installed.

If you will be using the additional fonts frequently, you should add the fonts to the preload.ps file in the /usr/lpp/psf/ps directory for InfoPrint Manager for AIX or Linux.

The fonts you specify in the preload.ps file load before transform processing begins, improving the performance of the PostScript transform.

Note: With InfoPrint Manager for AIX or Linux, the Courier font must exist in at least one of your font mapping files. It is included in the font mapping file, /usr/lpp/psf/ps/psfonts.map for InfoPrint Manager for AIX or Linux and the install_path\ps\fonts.map for InfoPrint Manager for Windows.

Arguments

The argument value identifies the specific object to which the command applies.

The valid argument values for the mkfntmap command are:

inputfile …
Specifies the name of the file or files that contain PostScript Type 1 fonts. At least one input file is required, although you can list more than one.
outputfile
Specifies the name of the font mapping file that contains the font mapping for the PostScript Type 1 fonts that were specified in the inputfiles. When the output file is created, it can be specified in the ps2afpd daemon and ps2afp command configuration files. You also can specify the outputfile name from the command line with the -F flag of the ps2afp command. If you do not specify an outputfile name, InfoPrint writes the results to standard output.

Examples

  • To create a font mapping file of all binary fonts named atm*, which have the extension .pfb, and call it atmfonts.map, enter:
    mkfntmap atm*.pfb > atmfonts.map
  • To create a font mapping file of all fonts named cou*, and call it courier.map, enter:
    mkfntmap cou* > courier.map