Mapping AFP Fonts to Type 1 Fonts

You can map an AFP Font file to a Type 1 font by specifying within the alias.fnt file the font name. Figure 15 shows an example of the mapping AFP fonts to type 1 fonts.

In order for the mapping to work, Afp2pdf Plus searches the "PFB-Font-Name-1.pfb" Printer Binary file within the PFBPFMDirectory font directory. Also, a font metrix has to exist in the PFBPFMDirectory: so, in Figure15 example either "PFB-Font-Name-1.pfm" or "PFB-Font-Name-1.afm" need to exist. If the “PFB-Font-Name-1.afm” files exists, the AFP2PDF Plus transform uses it, if it does not exist, it looks for the “PFB-Font-Name-1.pfm” file. You can specify the PFBPFMDirectory within the configuration file as stated in the Mapping AFP Fonts to Type 1 Fonts. If the "PFB-Font-Name-1.pfb" file is missing from the PFBPFMDirectory path, Afp2pdf Plus uses the default "Times Roman" font.

Note: You can only map single byte fonts to Type1 fonts.

Afp font to Type 1 font mapping in the alias.fnt file

;**** Requested font=font name,Font metric/AFM file name (or
'NULL' for not used) *****
;******* End User-defined/Custom names *******