Olivier Lefevre wrote:
- checking up to which possible hyphenation point the word part
fits onto the line.
So that is the job of the line-breaking algorithm, right?
Yes
I looked at
the layout package but unlike with Hyphenator these classes I could not
figure out how to drive them; they seem written for internal use only.
Correct.
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.
2. Since the Javadoc does not provide that information, you might want
to explain on that page what are leftMin, rightMin etc.
They correspond to the FO properties hyphenation-push-character-count
and hyphenation-remain-character-count.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]