J.Pietschmann wrote:
FOP ends lines *only* at spaces (and a few other special characters).
Hyphens (dashes) aren't special.
<snip>
No. Insert zero width spaces after the dashes, if you need.
Thanks for that advice, it worked perfectly since we do have the ability
to tweak the values which are going into these columns. :-)
The interesting thing is that hyphenation itself provides an extremely
undesirable result in this situation.
Using this FO:
<fo:block text-align="left" font-size="10" hyphenate="true">
...
</fo:block>
with English, FOP renders it like this:
X-
Stupidly-
Large-
Header-
To-See-If-It-Wraps
Using the zero-width space approach, FOP renders it like this:
X-Stupidly-Large-
Header-To-See-If-
It-Wraps
The second saves a couple of lines of output, and thus is definitely the
right way to go.
Daniel
--
Daniel Noll
NUIX Pty Ltd
Level 8, 143 York Street, Sydney 2000
Phone: (02) 9283 9010
Fax: (02) 9283 9020
This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]