File Content Extraction 26.3
Filter SDK Java Programming Guide

# Embedded Fonts - PDF

Text in PDF files sometimes contains embedded fonts. If you experience difficulties filtering embedded fonts, you can skip this type of text.

NOTE: If you skip embedded fonts, none of the content that contains embedded fonts is included in the output.

To skip text that uses embedded fonts

- In the Java API, use the method `setSkipEmbeddedFont()`. For example:

      objFilter.setSkipEmbeddedFont(true);

## Use the formats.ini File

When you use `formats.ini` to skip embedded fonts, you can also specify an embedded font threshold, which is an arbitrary percentage probability that the glyph in the embedded text maps to a character value in the output character set (ASCII, UTF-8, and so on).

For example, if you specify a threshold of `75`, embedded text glyphs that have a 75% or greater probability of correctly matching the character in the output character set are included in the output; glyphs that have a probability of less than 75% of matching the output character set are omitted from the output.

To skip embedded fonts by using the formats.ini file

- Set the following parameters:

      [pdf_flags]
      skipembeddedfont=TRUE
      embedded_font_threshold=threshold

  where `threshold` is a value between `0` and `100`. A threshold of `100` skips all embedded font text; a threshold of `0` retains all embedded font text.

  The default value of `embedded_font_threshold` is `100`. if you set `skipembeddedfont` to `TRUE` and do not specify the `embedded_font_threshold` parameter, Filter skips all embedded text.

Copyright 1997-2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.3

Topic Title: Embedded Fonts - PDF