Managing fonts > Font entries in driver files and substitution tables > Editing font entries

Editing font entries
If you cannot use a font straight off in the output from a specific driver you can edit font entries in the driver file (*.drs) or use a font substitution table to add driver specific entries for the font.
Editing driver files
You can edit font entries in *.drs files for custom device drivers. See the Device driver tools documentation for information about how to create custom device drivers.
Using font substitution tables
You can add font entries to a font substitution table. When you export the Project, the font entries in the font substitution table are appended to the exported *.drs file.
Note:
To connect a font substitution table to an output connector
1
2
On the Device Driver Settings tab, browse to and then select the Font substitution table resource.
Font not referenced in driver file
If the font is not referenced in the actual *.drs file you can use a font substitution table, and add the font entry to this table.
Fonts already referenced in driver file
If you want to edit font entries that are already referenced in the *.drs file you must edit the entries in the *.drs file or use a font substitution table to override the font entries in the *.drs file. If you use a font substitution table you must make sure to use exactly the same font specification as in the *.drs file to be able to override the font entries. For example, if you want to embed ARIAL.TTF and the *.drs file contains the following font specifications for ARIAL.TTF:
Font "Arial" ReadFont "ARIAL.TTF" 
SelectPrefix "Arial" Codepage "Ansi"
Font "Arial_Underline" ReadFont "ARIAL.TTF" 
SelectPrefix "Arial" Codepage "Ansi"
Then you should edit the *.drs file or add the following font entries to the font substitution table in order to override the entries in the *.drs file:
Font "Arial" ReadFont "ARIAL.TTF" 
SelectPrefix "Arial" Codepage "Ansi" FontEmbed
Font "Arial_Underline" ReadFont "ARIAL.TTF" 
SelectPrefix "Arial" Codepage "Ansi" FontEmbed
Using custom driver with no font references
Another option is to create a custom driver (for example a custom PDF driver) where you remove all font entries. Since the custom driver contains no font entries you can use a font substitution table without caring about overwriting any font entries in the *.drs file.
OpenText StreamServe 5.6.2 Updated: 2018-01-26