Hi Kumar,
thanks for your hint. I wrote a template, which checks if there are some
non-letter-characters (like '.', '/'; etc.). If this is the case, I concat
the string after each character with Unicode Zero Width Space('​'),
but then FOP 0.93 overlaps letters. I also tried FIGURE SPACE ('&x#2007;'),
but then FOP does break it half way ... very strange. Here my code snippet:
<xsl:variable name="sNew">
<xsl:for-each select="0 to string-length($s)">
<xsl:value-of select="concat(substring($s,.,1), '​')"/>
</xsl:for-each>
</xsl:variable>
<xsl:copy-of select="$sNew"/>
Any idea, why FOP0.93 is doing it that way?
Thanks in advance,
Franz
Puppala, Kumar (LNG-CON) wrote:
>
> You could insert a Unicode Zero Width Space (​) after each
> character within your table-cell. That should enable the word to break
> properly without overflowing into the next cell.
>
> However, if the same logic is applied to some standard text (which can
> hyphenate) it will no longer hyphenate.
>
> Thanks,
> Kumar
>
--
View this message in context:
http://www.nabble.com/BreakingAlgorithm-Problem-tf4806438.html#a13788523
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]