> -----Original Message-----
> From: Martin Zak [mailto:[EMAIL PROTECTED] 
> 
> I'm rendering several simple tables one by one and 
> experiencing the extra space between them.
> This space has no (IMHO) any reason, as tables has no space 
> before/after or margin defined.
> I attached the simple example - two tables with one row and 
> one cell, border defined on the table element to see the table block.
> 
> When tables are placed as direct children of fo:flow, the 
> output is correct - no space between.
> When I enclose these two tables to single fo:block, suddenly 
> there is extra space rendered.
> ===
> FOP version: 0.92beta
> Attachments:
> - tables.fo (source to render table_bug_wrong.pdf)
> - tables_wrong.pdf (tables with extra space between)
> - tables_correct.pdf (correct output after removing the 
> enclosing fo:block) ===

Hi,
I think this happens because there is some extra space before or after
tables, due to allocation rectangle, determinded by the
line-stacking-strategy trait.
I suppose this is a correct rendering, but I'm not sure.

Try to set both line-height and font-size to 0pt (if not specified,
line-height defaults to 1.2 font-size).
If you do that, you'll need to reset font-size/line-height to your
tables, inserting for example a fo:wrapper between fo:block and
fo:table.

HTH

Pascal


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to