The asterisks are only one example. What about other character strings? Unfortunately I have no control over what data is put in the report, but I have to make sure that all characters are presented to the reader. I can implement the (​) workaround, but would prefer a FO only solution. Is there some value of either the overflow or wrap-option attributes that might help with this situation? I'm trying to emulate the behavior of apps such as MS Word or Notepad that do the line wrapping automatically (I really don't want hyphenation because these are not true English words).

-Wyatt

Jeremias Maerki wrote:
I'd have to look up whether according to UAX#14/TR14 we would be allowed
to break between two "*" characters in the first place. Not that FOP
already implements the full rule set, yet! At any rate, I'd try to
insert a zero-width space (​) after each "*" character to allow
for breaks in between. Maybe that helps.

On 09.09.2006 04:43:02 Wyatt Tellis wrote:
I'm building a medical report printing application and I'm having trouble forcing long characters strings (not really words) to wrap. FOP gives the error: "Line 1 of a paragraph overflows the available area. (fo:block..." For example I may have a series of 80 '*' characters. I would like to have that string wrap to 2 lines instead of continuing over the edge of the page. Per the wiki (http://wiki.apache.org/xmlgraphics-fop/Troubleshooting/CommonLogMessages), I've tried using the wrap-option and overflow attributes to get the strings to wrap with no luck. Hyphenation doesn't work either. I'm using 0.92.beta. Is there a way to get this to work in FOP?



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to