On 07 Apr 2011, at 08:31, Prasanna wrote: Hi Prasanna,
> Series of hyphen chars are not getting wrapped with wrap-option="wrap". Any > clue why this is happening? Some, but the most important one is probably that FOP implements Unicode line breaking rules, and Unicode UAX#14 does not allow breaking before characters of class HY (such as U+002D HYPHEN-MINUS). See: http://unicode.org/reports/tr14/#Algorithm and scroll down to find "LB21 Do not break before hyphen-minus ..." If you need a true line-wrapping effect, the usually suggested workaround is to inject ZWSP into the text, either at strategically chosen locations or between every two characters/hyphens. Regards, Andreas --- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
