Remapping fonts

<< Click to Display Table of Contents >>

Remapping fonts

Each font in a PDF file contains a table in which the glyphs (the shape descriptions of the individual characters) are mapped to their meaning ("That is an A"). It would not be possible to edit or export text without such a table. This table is incorrect in some PDFs.

FlexiPDF can repair the table so that it and and other PDF editors can edit and export the text correctly.

Manually correcting the font mapping

1.Choose the ribbon command Document | group Extras | Fonts dropdown_arrow | Remap fonts to open the dialog box "Remap fonts". This is similar to the dialog box Character Palette.
2.Click on the glyph that is incorrectly mapped.
manual0099-01
In this example, the shape description '6' is incorrectly mapped to the '&'. If you converted this PDF to HTML, any occurrence of a 6 would be output as &.
3.Press 6 on the keyboard to remap.
4.The glyph display will be changed, whereby shape 6 and mapping 6 will be displayed with yellow highlighting in the lower right corner.
5.The next glyph in the table will be automatically selected.
6.Continue pressing the keys on the keyboard to correctly map each glyph in order.
7.Press OK to repair the PDF with the mapping you just specified.

Automatically correcting the font mapping

FlexiPDF also provides the option of an automatic repair. If, in the dialog box "Remap fonts", you click on the Auto Correct button, FlexiPDF uses optical character recognition (OCR) to identify the glyphs in the selected font.

This procedure is faster than a manual correction. However, OCR can cause errors in some cases. You will then have to make the corrections manually in accordance with the steps shown above.

The Auto Correct function is limited to Latin characters and a few accented glyphs. It is best used on fonts with basic Latin glyphs.