US 11,960,818 B2
Automatic detection and removal of typographic rivers in electronic documents
Ashish Jain, Delhi (IN); and Arushi Jain, Delhi (IN)
Assigned to Adobe Inc., San Jose, CA (US)
Filed by Adobe Inc., San Jose, CA (US)
Filed on Aug. 23, 2022, as Appl. No. 17/894,058.
Prior Publication US 2024/0070376 A1, Feb. 29, 2024
Int. Cl. G06F 17/00 (2019.01); G06F 40/109 (2020.01); G06F 40/166 (2020.01)
CPC G06F 40/109 (2020.01) [G06F 40/166 (2020.01)] 17 Claims
OG exemplary drawing
 
1. A method comprising:
receiving an electronic document including a plurality of words for automatic typographic correction;
identifying a typographic river in the electronic document based on positions of empty glyphs on consecutive lines of text in the electronic document, wherein the typographic river includes a plurality of nodes, wherein each node comprises an empty glyph;
identifying a candidate adjustment that removes a first node of the plurality of nodes by:
searching the electronic document for a hyphenation point that is located in a vicinity of a first line of text; and
computing, using a fitting parameter for the first line of text, an adjustment factor for a character spacing, a word spacing, or a glyph scaling for the first line of text; and
applying the candidate adjustment to the electronic document.