Griffin,Sean wrote:

Senthil,

Two things I would try:
1. Remove keep-together on the table-cell.  In this contrived example you 
wouldn't need it.  Not sure if that affects the hyphenation behavior or not.
2. Ensure you have the xml:lang attribute on the page-sequence element 
containing this block or the hyphenation either won't work or won't work 
correctly.

It's been a couple years since I actually did the upgrade to 0.95 and had to 
enable hyphenation but these are the first things I'd try.  At some point you 
still may find a situation where you have single-syllable words too wide for 
the column but hopefully those are rare and can be worked around.  You could 
also do what we do and scan for certain characters that indicate reasonable 
candidates for break conditions and put the ZWSP character before/after them.  
Characters like semicolon, colon, comma, slashes, braces, etc.

In addition to the advice given by Sean and Andreas; make sure you have
installed the fop-hyph.jar from OFFO. Otherwise you won't have the
hyphenation patterns needed for FOP to hyphenate the text in the cell.
See the following web site for more information on installing
hyphenation patterns:
http://xmlgraphics.apache.org/fop/trunk/hyphenation.html#install

Thanks,

Chris

<snip/>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to