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 

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?


Reply via email to