Patent ID: 8542926

Claim:
A computer-implemented process for reflowing a binarized region of text from a document image into a specified-width display area on an electronic display in a script-agnostic manner, comprising: using a computer to perform the following process actions: segmenting the text region into candidate lines of text, said candidate lines of text comprising at least one line of text comprising substantially only accent or diacritic marks, or both; merging candidate lines of text comprising substantially only accent or diacritic marks, or both, into the closest adjacent candidate text line; designating each remaining candidate text line as a final text line; segmenting each final text line into candidate text words; identifying inter-word punctuation and diacritic marks, if any, and merging each identified mark into the closest adjacent candidate text word; designating final text words based on the remaining candidate text words; segmenting the final text lines into paragraphs; and for each paragraph, reflowing the final text words found therein so as to fit into said specified-width display area while maintaining the original sequential order.