I am encountering an issue with fo:inline. Consider the following tags:

 

<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 and results in text overflowing. Does anyone know how I can fix this in the fop source code? Any help is greatly appreciated.

 

Thanks,

Kumar Puppala

 

Reply via email to