Working with Fonts

The result of document recognition is dependent on the fonts used during processing and their settings. ABBYY FineReader Engine provides you with the options of using available fonts, but there is a case when you need to set the fonts manually:

  • your document contains specific fonts (for example, non-Latin fonts)

In this case, it is important to set the fonts before launching your application because several processing stages require the usage of the correctly tuned fonts:

  • PDF opening
  • Document synthesis
  • Export to PDF

This article contains useful information on how to set the fonts manually and describes ABBYY FineReader Engine functions designed for working with fonts.

PDF opening

When opening PDF files, system fonts are used. If you need additional fonts, you may install them using the Font Book system utility.

Document synthesis and export to PDF

When synthesizing the document or exporting it to PDF, ABBYY FineReader Engine selects the best font from the set of fonts specified in the ISynthesisParamsForDocument::FontSet property. By default, the number of fonts in this set is optimized for a balance between the speed of processing and the quality of output documents.

To set the fonts manually:

1. Choose any folder on your machine to be used as fonts storage.

2. Copy the files of the required fonts into this folder. The fonts recommended for document synthesis and export are listed in the FontNamesFiltersEnum enumeration.

3. Specify the folder with fonts using the Folder property of the CustomFontSet object.

Use the recommendations below in case you need to change the default font set:

  • You can use a predefined font filter for a particular language, e.g., FNF_Chinese, FNF_Japanese. Use the FontNamesFilter property of the SystemFontSet or CustomFontSet object.
  • You can specify particular font families used in your document in the FontNamesCustomFilter property of the SystemFontSet or CustomFontSet object.
  • You can specify the FNF_FineReader filter for the fonts in the FontNamesFilter property of the SystemFontSet or CustomFontSet object. This filter allows FineReader Engine to use more fonts during document synthesis and select better fonts as compared to the default mode. However, the speed of processing may slow down. This may be useful, for example, when converting to an editable format. Before specifying this filter, check the list of fonts it uses and make sure these fonts are present on your workstation.

Note that for the document synthesis with system fonts on macOS 10.15 Catalina or above, additional actions are required (see Frequently Asked Questions section).

See also

Working with Languages

7/3/2024 8:50:10 AM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.