You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Nguyen Hoang Nam <nn...@yahoo.fr> on 2001/06/09 08:43:35 UTC

A bug ?

Hello all,

I think there is a bug on the text-decoration, maybe this is fixed yet. 

I  would like undeline two words like this :

             Courrier      new

but here is what I get with FOP :

             Courrier      new


The espaces between 2 words are also underlined .

Here is my FO :
<fo:block font-size="12pt" font-family="Courier" 
line-height="15pt" white-space-collapse="false"> <fo:inline text-decoration="underline">courrier</fo:inline>      <fo:inline text-decoration="underline">New</fo:inline></fo:block>
Thank you for any suggestion to correct this problem and have nice weekend !

Nam










Re: A bug ?

Posted by Christian Geisert <Ch...@isu-gmbh.de>.
> Nguyen Hoang Nam wrote:
> 
> Hello all,
> 
> I think there is a bug on the text-decoration, maybe this is fixed yet.

I'll try to have a look at it in the next days.

> I  would like undeline two words like this :
> 
>              Courrier      new
> 
> but here is what I get with FOP :
> 
>              Courrier      new
> 
> 
> The espaces between 2 words are also underlined .
> 
> Here is my FO :
> <fo:block font-size="12pt" font-family="Courier"
> line-height="15pt" white-space-collapse="false"> <fo:inline
> text-decoration="underline">courrier</fo:inline>      <fo:inline
> text-decoration="underline">New</fo:inline></fo:block>
> 
> Thank you for any suggestion to correct this problem and have nice weekend !

Use FOP 0.16.0 ;-)

Just kidding, here's a possible workaround:

text-decoration="underline">courrier</fo:inline>&#160;<fo:inline
text-decoration="underline">New</fo:inline></fo:block>

&#160; is a non-breaking space (also known as &nbsp; in html)

> Nam

Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org