Puppala, Kumar (LNG-DAY) wrote:
<fo:block font-size="10pt"> This text is in font 10pt. Now we will
switch to a Bigger font on the same line <fo:inline font-size="20pt">
This text is in bigger font but the spacing between the lines still
remains at 10pt because of which this text will overflow with the line
above. !!! </fo:inline></fo:block>
I think the problem here is that fo:inline takes the line-height value
from its parent element and hence when there is an increase in
font-size, it does not update the line-height of its rendering area
FOP 0.20.5 wont generate a new area for a fo:inline. Also, line-height
is a block level property. Increasing the font size should result in
an automatic baseline adjustment, which isn't implemented in 0.20.5.
and
results in text overflowing. Does anyone know how I can fix this in the
fop source code?
Don't even try, it's *very* *hard*. BTW this problem is already solved
in the redesign code.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]