EscapeE

Substitute fonts

Substitute fonts

Previous topic Next topic Expand/collapse all hidden text  

Substitute fonts

Previous topic Next topic JavaScript is required for expanding text  

Using the original PCL fonts in a PDF may not be desirable since incorporating the font in the PDF may make it quite large, particularly in the case of bitmap fonts.

To set up your own 'substitute' fonts to replace them is normally a job for experts, but you may avoid much of the technical detail by using the EscapeE 'Font substitute' dialog: see Setting up Substitute fonts.

Click to expand/collapse this hidden textNotes

You may use standard Adobe® fonts or any of your Windows® fonts for substitution, but note that Windows fonts will only work on systems that also have these fonts. Note that these substitutions will be used when exporting to Postscript or PCL as well.

You may use wildcard font names in this substitution process e.g. *bold would select all fonts with names ending in 'bold' and *new* in the font name would select all fonts with names such as 'Times New Roman', 'Courier New' etc. See Wildcards in font substitution.

When you exit from the dialog the substitutions are saved in a file with extension ".SUB".

If you need further help, contact the RedTitan support team: help@redtitan.com

Click to expand/collapse this hidden textTechnical notes

When a PCL file is opened, EscapeE searches for its substitution file using the following order of priority:

i.the file specified by the /SUBST option. If the SUBST symbol has not been set, then:
ii.a file with the same name as the input file but with extension .SUB. If the .SUB file cannot be found:
iii.the file specified by the SUBSTDEF symbol in the PCLVIEW section of the INI file. If this symbol has not been set, then
iv.a file called DEFAULT.SUB in the same folder as the input file is used.

For example, if the calling line was

escapee /SUBST *.sub /SUBSTDEF c:\escapee\default.sub

or the equivalent definitions had been configured previously then if a file xxx.pcl is opened, EscapeE will try for a file xxx.sub and if that does not exist, use file c:\escapee\default.sub. Note that is the path is omitted from either specification then EscapeE will look in the folder of the PCL file. Hence the command

escapee /SUBST default.sub /SUBSTDEF c:\escapee\default.sub

would look for a file called default.sub in the folder of the PCL file, and failing that revert to the one in folder c:\escapee. More complex possibilities include partial wild cards e.g.

/SUBST ??def.sub

which would use the first two characters of the PCL file name to construct a font substitute file name, so a file xxx.pcl would use xxdef.sub


Links

Viewing font information

Installing fonts

Handling fonts