Rather complex area, line building. One that is a little under-present in our testcases so far. I believe you're correct (comments in 4.6 and 7.15.4), but I have the impression that we'd actually need to look at this from a more general angle eventually. Not necessarily right now, of course. But it may be good to start building up test cases and the knowledge on all the advanced aspects of line building.
On 06.09.2005 06:57:06 Manuel Mall wrote: > Currently fop sets the bpd of areas created from fo:inlines to to > line-height of the line the area appears in. > > For example: > > <fo:block font-size="10pt">Some text <fo:inline font-size="8pt">smaller > text</fo:inline></fo:block> > > The inline parent area created for the fo:inline will be given a bpd of > 12pt, i.e. the line-height of the surrounding block, and not 9.6pt > which is the height of the fo:inline. > > The difference is visually noticeable to moment one applies backgrounds > or borders/padding to the fo:inline. > > Am I correct in saying that the current implementation is incorrect and > that the smaller bpd should be applied in the example above? > > Manuel Jeremias Maerki