On Friday 16 November 2007 17:33, Andreas L Delmelle wrote:
> 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.

In addition 0.94 should break at the '/' character automatically, i.e. 
it should break typical URLs. However, it will not break on '.' not 
followed by whitespace (if it did if could have very unfortunate 
effects on numbers like $12.50).

>
> HTH!
>
> Andreas
>

Manuel

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

Reply via email to