KB0008528: Font substitution in Ghostscript

KB Articles

KB Article #8528


Topic/Category: GhostScript Font Substitution.


Issue: Ephesoft is not reading a PDF correctly and the fonts appear to be different in the original PDF and the document in Review or validate.


Root Cause: When Ghostscript converts a PDF to single page tif files during the folder import, Ghostscript converts the fonts to a more readable font. Some fonts are not supported out of the box for Ghostscript such as Lucida and are therefor substituted with a different font such as Helvetica.




Instructions: The font for the document will have to be added to the Ghostscript font library manually.

  1. Open the following file in notepad: C:\Ephesoft\Application\native\RecostarPlugin\bin\GsRenderer\Fontmap.GS
  2. The standard entries for this file have the name of the original font for the document and then the name of the font to which it should be converted. If a font does not exist in the ghostscript directory
    /TimesNewRoman                          /TimesNewRomanPSMT ;
    /TimesNewRoman,Bold                  /TimesNewRomanPS-BoldMT ;
    /TimesNewRoman,Italic                  /TimesNewRomanPS-ItalicMT ;
    /TimesNewRoman,BoldItalic           /TimesNewRomanPS-BoldItalicMT ;
  3. At the bottom of the file, you will want to create a new entry for your font and with the font to which you would like it converted. In this example, I am using LucidaSansBold as the original font and I am converting to a the windows true type font l_10646
    /LucidaSans,Bold (C:/Windows/Fonts/l_10646.ttf) ;
    /Dialog (C:/Windows/Fonts/l_10646.ttf) ;
  4. Save the Fontmap.GS file and restart Ephesoft