Labels:text | font | letter | black and white | screenshot | document OCR: This document elaborates on the memorandum written by mark.\nmmmmmmmmmm @memorandum @ memorandum Text pointer position prior to Fast Forward operation @ Position of search string relative to text string prior to Fast Forward operation Last character of search string lines up with 'a' in text string Result of Fast Forwarding text pointer by dist['a'] Position of search string relative to text string after Fast . Forward operation This document elaborates on the memorandum written by mark.\nmmmmmmmmmm @ memorandum @ memorandum Text pointer position prior to LFC comparison @ Position of search string relative to text string prior to LFC comparison In this example, I have arbitrarily designated the first 'm' in "memorandum" as the LFC. The program checks the text character that is at the same offset from the text pointer as the LFC is from the end of the search string. The LFC is at an offset of -9 from the end of the search string, so the program checks the text character at text pointer -9. This character is 'o'. If this character is not equal to the LFC, the program performs a shift operation. @ Character at same offset from text pointer as LFC is from end of search string ( Text pointer position after shift operation. Amount to shift was calculated in build function Position of search string relative to text string after shift operation 0 This document elaborates on the memorandum written by mark. \hmmmmmmmmmm @memorandum 0 1 Text pointer position prior to LFC operation @ Position of search string relative to text string prior to LFC comparison Check character at same offset from text pointers as LFC is from end of search string. Since this character (at 2) matches LFC, perform full comparison operation @ Perform full comparison over all search string characters