You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Selber Jean-François <jf...@oxymel.com> on 2004/01/30 17:34:26 UTC

Gap beetween images

Hi

I use fop 0.20.5

I whould like to concatenate images vertically. The problem is that FOP add
a blank space in between. By adding space-before="-2.5pt", the blank space
disappear. Unfortunately, this doesn't work in all cases. It works if
preceding image is bigger than 10 pixels, otherwise, a blank space appears
again.

In the example hereafter, if first.jpg is smaller than around 10 pixels,
then the space-before="-2.5pt" applied on  "second.jpg" is not sufficient..
A value of -6pt or more is needed to compensate the bigger space added by
FOP. Seemingly, the smaller is the preceding image, the bigger is the gap.

  <fo:external-graphic src="first.jpg"/>
  <fo:external-graphic space-before="-2.5pt" src="second.jpg"/>
  <fo:external-graphic space-before="-2.5pt" src="third.jpg"/>
Can anybody provide me with an explanation and some help to find the good
value for space-before

many thanks in advance
jf



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


Re: Gap beetween images

Posted by Clay Leeds <cl...@medata.com>.
I don't know. I just did a query on the Bug List for "gap" but "Zarro 
Boogs found." is what it says... Sorry I can't help much...

Web Maestro Clay

On Jan 30, 2004, at 9:24 AM, Selber Jean-François wrote:
> Is it a known bug or not?
>
> Thanks
> jf
>
> ----- Original Message -----
> From: "Clay Leeds" <cl...@medata.com>
> To: <fo...@xml.apache.org>
> Sent: Friday, January 30, 2004 5:41 PM
> Subject: Re: Gap beetween images
>
>
>> This isn't a fix, but... Perhaps you can add enough "white" or
>> background-color to the top of the first.jpg so that it's larger than 
>> 10px
>> but retains the appearance of the shape you need?
>> --
>> Clay Leeds - cleeds@medata.com
>> Web Developer - Medata, Inc. - http://www.medata.com
>> PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
>>
>> Selber Jean-François said:
>>> Hi
>>>
>>> I use fop 0.20.5
>>>
>>> I whould like to concatenate images vertically. The problem is that 
>>> FOP
>>> add
>>> a blank space in between. By adding space-before="-2.5pt", the blank
> space
>>> disappear. Unfortunately, this doesn't work in all cases. It works if
>>> preceding image is bigger than 10 pixels, otherwise, a blank space
> appears
>>> again.
>>>
>>> In the example hereafter, if first.jpg is smaller than around 10 
>>> pixels,
>>> then the space-before="-2.5pt" applied on  "second.jpg" is not
>>> sufficient..
>>> A value of -6pt or more is needed to compensate the bigger space 
>>> added
> by
>>> FOP. Seemingly, the smaller is the preceding image, the bigger is the
> gap.
>>>
>>>   <fo:external-graphic src="first.jpg"/>
>>>   <fo:external-graphic space-before="-2.5pt" src="second.jpg"/>
>>>   <fo:external-graphic space-before="-2.5pt" src="third.jpg"/>
>>> Can anybody provide me with an explanation and some help to find the
> good
>>> value for space-before
>>>
>>> many thanks in advance
>>> jf
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
>>> For additional commands, e-mail: fop-user-help@xml.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
>> For additional commands, e-mail: fop-user-help@xml.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>


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


Re: Gap beetween images

Posted by Selber Jean-François <jf...@oxymel.com>.
Is it a known bug or not?

Thanks
jf

----- Original Message -----
From: "Clay Leeds" <cl...@medata.com>
To: <fo...@xml.apache.org>
Sent: Friday, January 30, 2004 5:41 PM
Subject: Re: Gap beetween images


> This isn't a fix, but... Perhaps you can add enough "white" or
> background-color to the top of the first.jpg so that it's larger than 10px
> but retains the appearance of the shape you need?
> --
> Clay Leeds - cleeds@medata.com
> Web Developer - Medata, Inc. - http://www.medata.com
> PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
>
> Selber Jean-François said:
> > Hi
> >
> > I use fop 0.20.5
> >
> > I whould like to concatenate images vertically. The problem is that FOP
> > add
> > a blank space in between. By adding space-before="-2.5pt", the blank
space
> > disappear. Unfortunately, this doesn't work in all cases. It works if
> > preceding image is bigger than 10 pixels, otherwise, a blank space
appears
> > again.
> >
> > In the example hereafter, if first.jpg is smaller than around 10 pixels,
> > then the space-before="-2.5pt" applied on  "second.jpg" is not
> > sufficient..
> > A value of -6pt or more is needed to compensate the bigger space added
by
> > FOP. Seemingly, the smaller is the preceding image, the bigger is the
gap.
> >
> >   <fo:external-graphic src="first.jpg"/>
> >   <fo:external-graphic space-before="-2.5pt" src="second.jpg"/>
> >   <fo:external-graphic space-before="-2.5pt" src="third.jpg"/>
> > Can anybody provide me with an explanation and some help to find the
good
> > value for space-before
> >
> > many thanks in advance
> > jf
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail: fop-user-help@xml.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org



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


Re: Gap beetween images

Posted by Clay Leeds <cl...@medata.com>.
This isn't a fix, but... Perhaps you can add enough "white" or
background-color to the top of the first.jpg so that it's larger than 10px
but retains the appearance of the shape you need?
-- 
Clay Leeds - cleeds@medata.com
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc

Selber Jean-François said:
> Hi
>
> I use fop 0.20.5
>
> I whould like to concatenate images vertically. The problem is that FOP
> add
> a blank space in between. By adding space-before="-2.5pt", the blank space
> disappear. Unfortunately, this doesn't work in all cases. It works if
> preceding image is bigger than 10 pixels, otherwise, a blank space appears
> again.
>
> In the example hereafter, if first.jpg is smaller than around 10 pixels,
> then the space-before="-2.5pt" applied on  "second.jpg" is not
> sufficient..
> A value of -6pt or more is needed to compensate the bigger space added by
> FOP. Seemingly, the smaller is the preceding image, the bigger is the gap.
>
>   <fo:external-graphic src="first.jpg"/>
>   <fo:external-graphic space-before="-2.5pt" src="second.jpg"/>
>   <fo:external-graphic space-before="-2.5pt" src="third.jpg"/>
> Can anybody provide me with an explanation and some help to find the good
> value for space-before
>
> many thanks in advance
> jf
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
>

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