I try to format the following fo document.
Some character using big size font overlap the first line text.
I think that fo cannot find correct line height.
Can fop layout the following document correctly ?

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

<fo:layout-master-set>
<fo:simple-page-master 
master-name="simple" 
margin-top="1in" 
margin-right="1in" 
margin-left="1in" 
margin-bottom="1in">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="simple">
<fo:flow flow-name="xsl-region-body">

<fo:block>This is the first line using default font.
</fo:block>
<fo:block>
<fo:inline font-size="20pt">Big Font</fo:inline>
<fo:inline font-size="10pt">Small Font</fo:inline>
<fo:inline font-style="italic" font-size="30pt">Italic Big Font</fo:inline>
</fo:block>

</fo:flow></fo:page-sequence></fo:root>
-----
Miya Chiharu

Reply via email to