You should probably take a look at the old implementation in the maintenance
branch
http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/branches/fop-0_20_2-maintain/src/org/apache/fop/layout/LineArea.java?rev=196931&view=markup
Most of the algorithm is in the addText method.
Is this the TeX algorithm? I don't see any use of penalties. It looks
more like an eager sort of algorithm to me.
-- O.L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]