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 t_...@agency.com on 2000/11/20 20:32:45 UTC

line-height attribute does not work for table rows with empty cel ls

Hi everybody!

  line-height attribute for fo:table-row does not work if I have only cells
without text.

In the example below the first line (with a dot in the block) has correct
height, 
but the second one is very small.

Should the row have correct height even if it contains no text?
Can anybody propose workaround?

Example:

<fo:table>
<fo:table-column column-width="60mm"/>
<fo:table-body>
  <fo:table-row line-height="4cm">
    <fo:table-cell background-color="red">
      <fo:block> s
      </fo:block>
    </fo:table-cell>
  </fo:table-row>
  <fo:table-row line-height="4cm">
    <fo:table-cell background-color="green">
      <fo:block>
      </fo:block>
    </fo:table-cell>
  </fo:table-row>
</fo:table-body>
</fo:table>

I use the latest CVS snapshot.

Thanks
Andriy Palamarchuk