On 13 Jun 2011, at 22:53, Chetan Shirol wrote:

Hi Chetan

> I am upgrading fop from .25 to .95 and facing the below issue. Please help.
> 
> <snip />
> Case 2:
> Long text with No white space like
> eg: ReallyReallyLongTextNoWhiteSpace
> 
> then the text flows- overlaps the next column.

FOP implements Unicode line-breaking rules, and those do not allow to break the 
sample text fragment anywhere.
The usually suggested workaround is to alter the stylesheet, so that ZWSPs 
(U+200B) are inserted that give FOP a chance to break.

So, you should get the equivalent of:
R&#x200B;e&#x200B;a&#x200B;l&#x200B;l&#x200B;y...

That will effectively lead to a 'wrapping' effect, i.e. FOP will place as many 
characters as possible in a line, and break at the next ZWSP.

This is currently the only around this, AFAIK.

Hope this helps!

Regards

Andreas
---

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

Reply via email to