On Nov 16, 2007, at 09:29, fma-001 wrote:

Hi

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), '&#x200B;')"/>
        </xsl:for-each>
</xsl:variable>
<xsl:copy-of select="$sNew"/>

Any idea, why FOP0.93 is doing it that way?

Yes, this was a bug in 0.93 IIRC. Upgrading to 0.94 should resolve the issue.

HTH!

Andreas


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

Reply via email to