I came up with this strange behavior using using rl-tb writing mode in a PDF output:

in case of an horizontal merged cell in a table, the table border for that cell is placed in the middle of the cell.

Attached is an FO file that reproduces the issue.

I'm using FOP 2.1 (from https://xmlgraphics.apache.org/fop/download.html) under Ubuntu 14.04 LTS Linux.

I don't know if I'm doing something wrong, if there is a way around it or if this is a bug.

Maxime Bégnis
Tél: +33 (0)
789 Rue de La Gare
13770 Venelles