Patent attributes
A print device prints a document with a security marking in a microtext font. A scanning device scans the security marking, and an optical character recognition (OCR) engine attempts to recognize the characters in the security marking. The system the generates an encoding in which each character of the font is mapped to a character string made up only of characters that the OCR engine could recognize at or above a minimum recognition threshold. Then, when generating a new document with a new security marking in the microtext font, the system will use the encoding to replace each character in the security marking with its representation from the encoding so that the scanner and OCR engine can decode the security marking.