Refactoring of Knuth line breaking code (including some speed improvements) Bugzilla: #32612 Submitted by: Finn Bock <bckfnn.at.worldonline.dk>