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 "Pretterhofer, Guenter" <Gu...@Dresdner-Bank.com> on 2000/08/03 19:29:14 UTC

negative numbers

Hi All,

	I'm experiencing strange behaviour with tables that have positive
and negative
numbers in the same column. The alignment is not *completely* correct. It's
close, but
there's a definite difference between where the first number is printed and
where the
second one is.

	The example below should reproduce the situation.

	Does anyone know what is happening here ?

	Cheers,

	Guenter

 <fo:flow flow-name="xsl-body">
      <fo:table>
        <fo:table-column column-width="15cm"/>
        <fo:table-body font-size="10pt" font-family="sans-serif">
        <fo:table-row line-height="12pt">
        <fo:table-cell>
          <fo:block text-align="end">123,456</fo:block>
        </fo:table-cell>
        </fo:table-row>
        <fo:table-row line-height="12pt">
        <fo:table-cell>
          <fo:block text-align="end">-123,456</fo:block>
        </fo:table-cell>
        </fo:table-row>
        </fo:table-body>
      </fo:table>
    </fo:flow>