IBM
Contents Index Previous Next



Adding Printer Fonts (UNIX only)


By default only three printer fonts are available in printouts: Times, Courier and Helvetica. It is possible to add other printer fonts. The requirement is that there exist AFM (Adobe Font Metrics) files for the desired fonts. An AFM file contains the character metrics necessary for correct layout of text in printouts.

  1. Locate AFM files for the regular, bold, italic and bold italic versions of the font. Many AFM files are available from Adobe Systems Inc. through on-line services (e.g. via ftp from ftp.adobe.com).
  2. Store the files in the directory $telelogic/fontinfo.
  3. Name the files according to the scheme in the table below. Note that you have to specify <basename> by using lower case characters (e.g. palatino-I.afm). Otherwise, you are free to choose any <basename> that does not conflict with other fonts or font files.

File contents File name

regular font

<basename>.afm

bold font

<basename>-B.afm

italic font

<basename>-I.afm

bold italic font

<basename>-BI.afm

  1. You may then choose the font as <basename> in the Preference Manager (case is not important in this context):

Figure 92 : Specifying print font as Other.

Palatino is selected in the current example.

The generated files will use the true name of the font, extracted from the FontName and FamilyName attributes in the AFM files.

http://www.ibm.com/rational
Contents Index Previous Next