You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Aaron Optimizer Digulla <di...@hepe.com> on 2000/11/20 12:09:27 UTC

[BUG] Table with height 1pt

Version: CVS

I have this table in my document:

	<fo:block>
            111
        </fo:block>
        <fo:block border-width="1pt" border-style="solid" border-color="red"
	   <fo:table>
	      <fo:table-column column-width="2cm"/>
	      <fo:table-body font-family="sans-serif" font-size="12pt">
		 <fo:table-row line-height="14pt">
		    <fo:table-cell line-height="14pt">xxx</fo:table-cell>
		 </fo:table-row>
		 <fo:table-row line-height="14pt">
		    <fo:table-cell>1994</fo:table-cell>
		 </fo:table-row>
		 <fo:table-row line-height="14pt">
		    <fo:table-cell>1996</fo:table-cell>
		 </fo:table-row>
		 <fo:table-row line-height="14pt">
		    <fo:table-cell>1998</fo:table-cell>
		 </fo:table-row>
	      </fo:table-body>
	   </fo:table>
        </fo:block>
        <fo:block>
            222
        </fo:block>


This renders as

    111
    222

(there is a 3pt red rectangle between these two lines). There is
another table right after this one and it renders OK.

To see this, you can empty everything in the fo:flow element in
xml-fop/docs/examples/fo/table.fo and paste the code above into
it.

-- 
==============================================
Sowatec AG,       CH-8330 Pfäffikon (ZH)
Witzbergstr. 7,   http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, digulla@sowatec.com
==============================================