Back home

How a Line Breaks

Edit the passage below and watch the real Knuth-Plass dynamic-programming line-breaker choose optimal breakpoints against naive greedy breaking.

42 ch

Greedy (naive)

Knuth-Plass (optimal)