Mapping AFP Fonts to Type 1 Fonts

You can map an AFP Font file to a Type 1 font by specifying the font name in the Alias file (alias.fnt). The figure below shows an example of the mapping AFP fonts to type 1 fonts.

For the mapping to work, AFP2PDF Plus searches the PFB-Font-Name-1.pfb Printer Binary file in the PFBPFMDirectory font directory. Also, a font matrix has to exist in the PFBPFMDirectory. Therefore, in the figure below either PFB-Font-Name-1.pfm or PFB-Font-Name-1.afm must be specified. If the PFB-Font-Name-1.afm files exists, the AFP2PDF Plus transform uses it, if it does not exist, it searches for the PFB-Font-Name-1.pfm file. You can specify the PFBPFMDirectory in 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 New 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) *****
Font1=PFB-Font-Name-1,NULL
Font2=PFB-Font-Name-2,NULL
;******* End User-defined/Custom names *******
EndCharMetrics