On Tuesday 17 October 2006 08:32, Abel Braaksma wrote: > Abel Braaksma wrote: > > Manuel Mall wrote: > >> If I remove the line-height="313%" from the fo:block it seems to > >> do exactly what you want, that is each line get the minimum > >> necessary height to render it. > > > > This is precisely what I want to happen. Hmm, I'll make a full > > test, leaving out as much as possible, and if it still doesn't > > work, I will post my results online, so you can see the resulting > > PDF. I use FOP 0.92a. Perhaps that's the prb? > > It simply does not work, still, all text is mixed through one another > (see below for link). Here's the full XSLFO document I used to create > my document, as you can see, I tried the last inline element to > increase the line-height. But it has zero effect: > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > <fo:layout-master-set> > <fo:simple-page-master page-width="auto" page-height="auto" > master-name="all-pages"> > <fo:region-body margin-top="1in" margin-right="1in" > margin-bottom="1in" margin-left="1in" > column-count="1" > column-gap="12pt"/> > </fo:simple-page-master> > </fo:layout-master-set> > <fo:page-sequence master-reference="all-pages"> > <fo:flow flow-name="xsl-region-body"> > <fo:block space-before="1em" space-after="1em">Paragraph > with different sizes: <fo:block/> > <fo:inline font-size="60%" >x-small </fo:inline> and > back to normal, > <fo:inline font-size="80%" >small</fo:inline> and > back to normal, > <fo:inline font-size="100%" >normal</fo:inline> and > back to normal, > <fo:inline font-size="135%" >larger</fo:inline> and > back to normal, > <fo:inline font-size="171%" >large</fo:inline> and > back to normal, > <fo:inline font-size="267%" >x-large</fo:inline> and > back to normal, > <fo:inline line-height="600%" font-size="313%" > > >xx-large</fo:inline> and back to normal, > > And back to normal again. > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > > If you want to see the PDF document (in case it is different from > yours), you can see it online here: > http://abelleba.metacarpus.com/xslfo/test.pdf > > Hope you (or anyone) has any ideas how to resolve this. >
I can only say - works for me (PDF attached as produced with fop-0.92beta). > Cheers, > -- Abel Braaksma > Manuel
block_line-height.pdf
Description: Adobe PDF document
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
