You got an answer on your question from Manuel Mall: http://www.nabble.com/fo%3Ainline-with-line-height%2C-height%2C-border-or-other-block-like-properties-tf2369401.html
On 13.10.2006 15:32:12 Abel Braaksma wrote: > [something went wrong with subscription a while ago. This message was > originally send Monday 2 October, but apparently my subscription was > wrong. My apologies if this is the second time you see this message. I > will request a digest] > > -------- Original Message -------- > > Dear List, > > I am new to XSL-FO, but I am trying to read up and catch up. From what I > understand from the specs and from the book "Definitive XSL-FO", it is > possible to do the following: > > <fo:block space-before="1em" space-after="1em">Paragraph with different > sizes: <fo:block/> > <fo:inline font-size="1.70" padding-top="2em">large,</fo:inline> > <fo:inline font-size="2.67" padding-top="2em">x-large,</fo:inline> > <fo:inline font-size="3.13" padding-top="2em">xx-large.</fo:inline> > And back to normal again. > </fo:block> > > In that example, I use the common property "padding-top". From the > compliance page from Apache Fop, I understand that padding-properties > are supported. Same for border-top-width, height and the like. These > properties can be used on inline elements as well as on block elements. > For block elements they seem to work perfect, but for inline elements, > they are completely ignored. > > Can someone help me here? What I am trying to do is make the line-height > higher when halfway up a line, not knowing up-front what the maximum > height will be for that line (I cannot know what fits on a line and what > not). In HTML (as a bad comparison), this is done automatically with > inline elements (<span>, <em> etc). > > I tried using <fo:block> with keep-with-next, expecting that the > line-break on the end of the block would not appear, but alas, it did > anyway. So using a block as an inline element was no consort either. > > Anybody any ideas? > > Thanks in advance, > > Cheers, > Abel Braaksma > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
