xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Buchenberger <gr...@eightfoldconsulting.com>
Subject Re: Extra line spacing
Date Wed, 10 Feb 2010 16:10:10 GMT
Thanks Pascal. I'll submit it to the bug tracker.

On Wed, Feb 10, 2010 at 2:38 AM, Pascal Sancho <pascal.sancho@takoma.fr>wrote:

> Hi Greg,
>
> That sounds like a bug...
> This is caused by the space-after property witch is set on an fo:block
> nested in an fo:inline.
> the space-after is drawn for the 1st line of the nested fo:block, not
> the last line....
> See short XSL-FO attached.
>
> Workaround: replace the surrounding fo:inline with an fo:wrapper, witch
> generates no area.
>
> I've don't checked if there is yet a reported bug about this issue. Can
> you  fill in a bug if no, please?
>
> Pascal
>
> Gregory Buchenberger a écrit :
> > Hello,
> >
> > On page 25 of the PDF under the line "This black and white photo shows
> > a two-" the line spacing is more than the following lines. The same
> > thing happens on page 30 after the text "This is a map showing dust
> > storm damage". The XSL-FO representing that portion of the PDF is the
> > following:
> >
> > <fo:block keep-with-previous.within-page="3">
> >   <fo:inline font-weight="bold">
> >     <fo:block space-after="0.5em" space-before="0.5em">
> >       This black and white photo shows a two-wheeled wagon
> >       piled high with cloth sacks filled with goods. Another
> >       sack lies on the grass next to the wagon.  The wagon
> >       has the thin tires and criss-cross pattern of spokes
> >       on the wheels that are characteristic of the 1930s.
> >     </fo:block>
> >   </fo:inline>
> > </fo:block>
> >
> > The line-spacing attribute should be 1.5em throughout the document.
> > Does anyone know why this extra line spacing is being rendered?
> >
> > I'm using FOP trunk (as of early December). I've attached the PDF
> > document and the XSL-FO used to render it. Your help is greatly
> > appreciated.
> >
> > Kind Regards,
> >
> > Gregory Buchenberger, CDIA+, ECMs
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>

Mime
View raw message