fontsub.conf.5


NAME

fontsub.conf - PPR font substitutions list


DESCRIPTION

This file contains a list of PostScript font names and possible substitute fonts. This file is consulted after pprdrv failes to find the font in the printer's PPD file, in the cache directories, and in the index created with indexttf.

This file will only be consulted if the ProofMode is ``Substitute''. The ProofMode is Substitute by default. It can be changed by a ``%%ProofMode:'' line in the document comments or by ppr's -P switch.

Sometimes a font manufacturer changes the name of a font. For example, MonoType's font ``MBembo'' became ``Bembo''. At other times, fonts within the same family will differ only in width. In that case, a reasonable substitute may be achieved by adjusting the width of the substitute font.

Any line that has ``#'' or ``;'' in the first column is a comment. Blank lines are ignored. A font substitution record begins with the name of the font for which there are substitutes. The name should start in column one and be on a line by itself. The list of possible substitutes follows, one per line. Each substitute font line should start with a space or tab. You may list as many substitute fonts as you like. The first substitute font to be found in the printer's PPD file, in the cache directories or in the index created with indexttf will be used.

Here is an example of four records which indicate that the IBM Courier fonts are suitable substitutes for the Adobe Courier fonts:

Courier IBMCourier Courier-Bold IBMCourier-Bold Courier-Oblique IBMCourier-Italic Courier-BoldOblique IBMCourier-BoldItalic

You have the option of specifying a PostScript transform matrix to be applied to the substitute font. Generally this will be used to adjust the width. The should appear on the substitute font line, after the substitute font name. Here is an example:

Helvetica-Condensed Helvetica [0.80 0 0 1 0 0] Helvetica-Condensed-Bold Helvetica-Bold [0.80 0 0 1 0 0] Helvetica-Condensed-Oblique Helvetica-Oblique [0.80 0 0 1 0 0] Helvetica-Condensed-BoldOblique Helvetica-BoldOblique [0.80 0 0 1 0 0]

This approximates Helvetica Condensed by scaling Helvetica to 80% of its normal width. The role of the other members of the matrix, refer to the PostScript language reference manual.


SEE ALSO

``PPR, a PostScript Print Spooler'', "PostScript Language Reference Manual Second Edition", indexttf(8).


HISTORY

PPR was written at Trinity College during 1993--1997.


AUTHOR

David Chappell, Trinity College Computing Center, Hartford, Connecticut.