1. A system comprising: one or more computers; and a computer program product tangibly embodying software which when executed cause the one or more computers to perform operations comprising: determining an aggregate space expansion or space compression that would lay out a text line having a plurality of consecutive words to a particular length; and determining a justification penalty, the justification penalty value being a function of at least the aggregate space expansion or space compression and the number of inter-word spaces in the text line.
1. A system comprising: one or more computers; and a computer program product tangibly embodying software which when executed cause the one or more computers to perform operations comprising: determining an aggregate space expansion or space compression that would lay out a text line having a plurality of consecutive words to a particular length; and determining a justification penalty, the justification penalty value being a function of at least the aggregate space expansion or space compression and the number of inter-word spaces in the text line. 12. The system of claim 1 , wherein the justification penalty value is solely a function of the aggregate space expansion or space compression and the number of inter word spaces in the text line.