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 bachner <Ed...@isa-tools.de> on 2001/07/02 11:31:24 UTC

blank between two fo:inlines in the generated pdf

Hi all,

I want to have a bold text and normal text without spacing between like
whitespaceneeded?  

In my fo-file the code looks like this:
fo:block white-space-collapse="true" font-family="Helvetica" font-size="14pt" id="74" line-height="16pt" text-align="start">
<fo:inline white-space-collapse="true" font-family="Helvetica" font-size="14pt" font-weight="bold" id="75">whitespace</fo:inline>
<fo:inline white-space-collapse="true" font-family="Helvetica" font-size="14pt" id="77">needed?</fo:inline>
<fo:inline white-space-collapse="true" font-size="12pt" id="79">
</fo:inline></fo:block>

In the generated pdf there is a white space between whitespace and needed like this:
whitespace needed? 


I tried to avoid it with white-space-collapse, but it does'nt work.
Is this a normal behaviour?

How can I avoid the whitespace between the 2 fo:inline objects?

Thanks in advance,
Eduard

  
PS: The behaviour is the same with fop-0.17.0, fop-0.18.1, fop-0.19.0



__________________________
Eduard Bachner
Consulting

ISA Tools GmbH
Kupferstr. 36
D-70565 Stuttgart

Tel: +49(711)22769-51
Fax: +49(711)22769-29
Email: Eduard.Bachner@isa-tools.de
WWW: http://www.isa-tools.de

Die Liebe ist so unproblematisch wie ein Fahrzeug. Problematisch sind nur
die Lenker, die Fahrg�ste und die Stra�e.

                                                        Franz Kafka

Re: blank between two fo:inlines in the generated pdf

Posted by Keiron Liddle <ke...@aftexsw.com>.
The easiest way is to not actually have any whitespace between the two
words. You have whitespace between them in the example, yes a carriage
return is white space.

The white-space-collapse should work but there must be a particular set of
circumstances preventing it from working properly. Possible something to do
with the fo:inline.

On Mon, 02 Jul 2001 11:31:24 bachner wrote:
> Hi all,
> 
> I want to have a bold text and normal text without spacing between like
> whitespaceneeded?  
> 
> In my fo-file the code looks like this:
> fo:block white-space-collapse="true" font-family="Helvetica"
> font-size="14pt" id="74" line-height="16pt" text-align="start">
> <fo:inline white-space-collapse="true" font-family="Helvetica"
> font-size="14pt" font-weight="bold" id="75">whitespace</fo:inline>
> <fo:inline white-space-collapse="true" font-family="Helvetica"
> font-size="14pt" id="77">needed?</fo:inline>
> <fo:inline white-space-collapse="true" font-size="12pt" id="79">
> </fo:inline></fo:block>
> 
> In the generated pdf there is a white space between whitespace and needed
> like this:
> whitespace needed? 
> 
> 
> I tried to avoid it with white-space-collapse, but it does'nt work.
> Is this a normal behaviour?
> 
> How can I avoid the whitespace between the 2 fo:inline objects?
> 
> Thanks in advance,
> Eduard
> 
>   
> PS: The behaviour is the same with fop-0.17.0, fop-0.18.1, fop-0.19.0


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