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*.