This paper discusses a new approach to the problem of dividing the text of a paragraph into lines of approximately equal length. Instead of simply making decisions one line at a time, the method considers the paragraph as a whole, so that the final appearance of a given line might be influenced by the text on succeeding lines. A system based on three simple primitive concepts called ‘boxes’, ‘glue’, and ‘penalties’ provides the ability to deal satisfactorily with a wide variety of typesetting problems in a unified framework, using a single algorithm that determines optimum breakpoints. The algorithm avoids backtracking by a judicious use of the techniques of dynamic programming. Extensive computational experience confirms that the approach is both efficient and effective in producing high‐quality output. The paper concludes with a brief history of line‐breaking methods, and an appendix presents a simplified algorithm that requires comparatively few resources.
[1]
Michael Frederick Plass,et al.
Optimal pagination techniques for automatic typesetting systems
,
1981
.
[2]
Stanley Morison.
The art of printing
,
1945
.
[3]
P. E. Justus.
There is more to typesetting than setting type
,
1972
.
[4]
British,et al.
Historical catalogue of the printed editions of Holy Scripture in the library of the British and foreign Bible society
,
1903
.
[5]
Keith Price.
Review of "TEX and METAFONT, New Directions in Typesetting by Donald Knuth", Digital Press and the American Mathematical Society.
,
1980,
SGAR.
[6]
R. M. Karp,et al.
The Construction of Discrete Dynamic Programming Algorithms
,
1965,
IBM Syst. J..
[7]
Michael P. Barnett.
Computer typesetting : experiments and prospects
,
1965
.