Routines (alphabetical) > Routines: P > PSAFM

# PSAFM

The PSAFM procedure takes an Adobe Font Metrics file as input and generates a new AFM file in the format that IDL likes. This new file differs from the original in the following ways:

- Information not used by IDL is removed.
- AFM files with the AdobeStandardEncoding are supplemented with an ISOLatin1Encoding.

This routine is written in the IDL language. Its source code can be found in the file `psafm.pro` in the `lib` subdirectory of the IDL distribution.

## Syntax

PSAFM, Input_Filename, Output_Filename

## Arguments

### Input_Filename

A string that contains the name of existing AFM file from Adobe.

### Output_Filename

A string that specifies the name of new IDL-format AFM file to be created.

## Keywords

None.

## Version History

Pre-4.0 | Introduced

## See Also

PS_SHOW_FONTS