Hello,

Recently I started using soft hyphens with FOP to split some painfully long
Java properties at . In most cases, this has worked very well and been a
significant improvement.

There seems to be some cases, however, where soft hyphens show up in mid
line when followed by punctuation characters like ., ], and ".

I find the excerpt of the attached .fo:

        <fo:block><fo:inline
> font-size="0.9em">.&#xAD;.&#xAD;</fo:inline></fo:block>
>         <fo:block><fo:inline font-size="0.9em">.&#xAD;
> .&#xAD;</fo:inline></fo:block>
>         <fo:block><fo:inline
> font-size="0.9em">.&#xAD;</fo:inline></fo:block>
>         <fo:block><fo:inline
> font-size="0.9em">.&#xAD;]</fo:inline></fo:block>
>         <fo:block><fo:inline
> font-size="0.9em">.&#xAD;\</fo:inline></fo:block>
>         <fo:block><fo:inline
> font-size="0.9em">.&#xAD;"</fo:inline></fo:block>
>         <fo:block><fo:inline
> font-size="0.9em">.&#xAD;a</fo:inline></fo:block>
>         <fo:block><fo:inline
> font-size="0.9em">.&#xAD;Z</fo:inline></fo:block>


Looks like this in PDF output:

.-.
> . .
> .
> .-]
> .\
> .-"
> .a
> .Z


I am seeing this behavior with FOP 1.0, FOP 1.1, and FOP 20130418 nightly
build.

What should I do to eliminate the soft hyphens showing up in mid line (not
before a line break)?

Thank you for your help.
Regards,
Mark

Attachment: simple.fo
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to