Optimizing Fonts

Remove All Embedded Fonts


Embedding fonts in your output PDF document ensures that the document can be opened and viewed on any machine, because the fonts travel with the document. If a document needs a font that is not embedded, the font must be supplied externally whenever the document is opened for viewing. That means that the font either must be installed on the local machine where the PDF is opened, or it must be simulated using Multiple Master fonts, a special set of Type 1 fonts provided by Adobe Systems.

Datalogics recommends that clients who create PDF documents embed all of the fonts those PDF documents are likely to need within those same PDF documents. Embedding fonts is generally considered to be a best practice.

But in many PDF documents, embedded fonts can make up a large percentage of the size of the file. If a PDF file is quite large, and you want to optimize it, it might make sense to remove the embedded fonts if you know that the fonts needed by that file will be installed on machines where that file is likely to be opened for viewing or printing.

Default Value PDFOptimizerRemoveAllEmbeddedFonts OFF

Merge Duplicate Fonts


Fonts are commonly embedded in a document to make sure that the PDF can be rendered on any platform (see “Remove all Embedded Fonts” above). The fonts travel with the PDF, so the file will open and display properly whether the same fonts are installed on the local machine or not. It is also possible to save space by including a subset of a font in a PDF document. The subset contains only those glyphs actually used in the document.

Sometimes, however, PDF documents are created with multiple copies of the same font, either as multiple subsets or multiple, fully embedded copies of a font file. When there are multiple copies of the same font, they may be merged into a single font.

Note that sometimes different versions of a font in a PDF document share the same name. When this happens, these named fonts are not merged.

Default Value PDFOptimizerMergeDuplicateFonts ON

Remove Embedded Base14 Fonts


The base14 fonts should be available on any machine that attempts to render or work with PDF documents. That means that there is no reason to embed base14 fonts in a PDF document any longer, but if base14 fonts are embedded in a PDF, use this option to remove them.

The Base 14 fonts are a subset of the Type 1 fonts that are installed with Adobe Acrobat and commonly used with PDF documents. These 14 fonts include five typefaces:

  • Times Roman: Standard, bold, italic, bold/italic
  • Helvetica: Standard, bold, italic, bold/italic
  • Courier: Standard, bold, italic, bold/italic
  • Symbol: which provides mathematical and special purpose characters
  • ZapfDingbats: A set of small printer ornaments, like check marks and pointers
Default Value PDFOptimizerRemoveAllBase14Fonts OFF

Subset all Embedded Fonts


Datalogics recommends that you set up applications to embed and subset all fonts in PDF documents wherever possible. Subsetting those fonts will reduce the space required, and thus the size of the PDF, by including only those glyphs in a font set that are actually used in the document. Subsetting is not recommended if the file may need to be edited later using Adobe Acrobat or a similar utility, since any new text introduced may need other glyphs beyond those that were provided in the font subset. But if you don’t anticipate a need to edit a PDF later, you can use this option to subset the fonts in the PDF and in the process save considerable space in the document.

Default Value PDFOptimizerSubsetAllEmbeddedFonts ON