17.3.5. Procedure – Adding a new font to the OCR database

Purpose: 

To add a new font to the AP OCR database, complete the following steps.

Steps: 

  1. If not already installed, install the font on the host running AP.

    For example, on Windows XP, this might include Segoe UI and/or Calibri fonts for Windows 7 trails.

  2. Fonts for non-Latin alphabets and symbols, such as Japanese, Chinese, or Webdings can slow down the OCR process, so by default they are excluded from the font database even if these fonts are installed on the host.

    1. Open the following file in a text editor (for example, Notepad): <installation-directory-of-Audit Player>\bin\textract.ini

    2. Find the [Recognition] section in the file.

    3. Find keys Include1, Include2, and Exclude.

    4. Remove the fonts you want to use from the Exclude list.

    5. Add the fonts you want to use to the Include1 (or Include2) list. The elements of the list are separated by comma. The * wildcard character can be used to refer to font families.

      For example, to OCR Japanese fonts, remove the MS Gothic from the Exclude list and add MS Gothic,MS Gothic*,MS Mincho,MS Mincho*,MS PMincho*,MS PGothic*,MS UI*,Franklin*,Meiryo* to the Include1 list.

      Note

      Adding more fonts will make AP consume more resources.

      Warning

      If the value of the MaxNFonts is smaller than the number of fonts in the Include1 and Include2 lists, the fonts will gradually disappear from the lists after each reindexing.

      To prevent this, ensure that the value of the MaxNFonts is set higher than the number of fonts in the Include1 and Include2 lists.

  3. Start the Audit Player application and select Edit > Rebuild OCR database.

    Expected result: 

    The Audit Player application updates the font database. The newly added fonts will be recognized in audit trails indexed after the database update.

    Note

    On UAC-enabled Windows systems (for example Vista, Windows 7), reindexing is only possible if the user has write and modify rights for the Textract-related files. See Procedure 17.1.2, Running Audit Player without administrator privileges for further details.