Skip Embedded Fonts

Text in PDF files sometimes contain embedded fonts. If you experience difficulties filtering embedded fonts, there are options in the API, the formats.ini file, and the FilterTestDotNet sample program that you can set to skip this type of text.

NOTE:

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

Use the formats.ini File

The formats.ini file is in the directory install\OS\bin, where install is the path name of the Filter installation directory and OS is the name of the operating system.

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 using the formats.ini file

Use the .NET API

To skip embedded fonts using the .NET API, set the SkipEmbeddedFont property. For example:

objFilter.SkipEmbeddedFont;

_HP_HTML5_bannerTitle.htm