paragraph-breaker icon indicating copy to clipboard operation
paragraph-breaker copied to clipboard

An implementation of the Knuth-Plass algorithm for breaking paragraphs into lines

The algorithms implemented in this library, total fit and standard fit, are described in Breaking Paragraphs into Lines (1981) by Donald Knuth and Michael Plass. The standard fit algorithm is only provided as a fallback to total fit.