Re: FO Leader (Newbie) Question

> 
> Does <fo:leader> produce a space-before the line by default?
> 
> i.e.
> 
> -------------------------------------------------------------
> ytuyuytuyyutyutuytyty yuyyut uytuytu uyt ytyt uuy tyut ytuy t
> <!--space here-->
> --------------------------------------------------------------
> 
> Is there anyway to remove the space or another method to generate the
> following?
> 
> -------------------------------------------------------------
> ytuyuytuyyutyutuytyty yuyyut uytuytu uyt ytyt uuy tyut ytuy t
> --------------------------------------------------------------
> 
> I have been using the following code, with no space-before or space-after
> attributes defined, and I get the space:
> ....
>     <fo:table-cell>
>          <fo:block text-align="center">
>             <fo:leader leader-length="1.875cm"
>                   leader-pattern="rule"
>              rule-thickness="0.5pt" color="black"/>
>          </fo:block>
>       </fo:table-cell>

leader is an inline element. It forms a line, the line height is determined
by the corresponding traits. The space you get is not space-before, it is interline
spacing. Override line height with a value you actually need. 

David Tolpin
RenderX

Received on Thursday, 22 November 2001 01:39:45 UTC