There are two command-line options which allow the name of a file containing font substitutions to be given: /SUBST specifies the file to be used in the current run, whilst /SUBSTDEF allows a default file to be specified for use when no /SUBST is given. These commands can contain wildcards; for example the command

ESCAPEE /SUBSTDEF *.sub

would look for files with the same stem as the data file but extension .sub and in the same directory as the data file.

Simple substitute lists can be set up from the Font Substitutes dialog or from the 'Font tables'.

Click to expand/collapse this hidden textExample

A typical substitution file for use with Datastream Converter (which preserves the Xerox font names in the PCL file) might contain

RTFONTSUBST Kosmos

MATCH: 'RK1*'

NAME: 'Helvetica'

RTFONTSUBST Kosmos Bold

MATCH: 'RK2*'

NAME: 'Helvetica-Bold'

RTFONTSUBST Titan

MATCH: 'R??TI?'

NAME: 'Courier'

RTFONTSUBST Titan Bold

MATCH: 'R??TB?'

NAME: 'Courier-Bold'

The above file specifies that fonts with names beginning with RK1 will be substituted by Helvetica in any PDF or PostScript output. Names such as R01TIP, R10TIL etc. will be substituted by Courier and R01TBP, R10TBL etc. will be substituted by Courier Bold. Substitutions are saved in a file with extension .SUB.

Instead of (or as well as) the NAME parameter, one can specify a selection sequence that must be matched e.g.

RTFONTSUBST

SELECT: esc '(19U' esc '(s0p3T' NAME: 'Courier'

Any fixed-pitch typeface 3 (Courier) font in 19U symbol set will be matched by this specification.

Comments (i.e. anything after RTFONTSUBST on the first line of a section) are optional.

N.B. the wildcard tests are applied sequentially, so the order may be important.