Hi all,

I think I have found a bug in PdfTable (iText 1.02 but seems to also appear in the latest iText 1.2).
I have several cells with a background color and can hide the border of neighboring cells.
After having reviewed the source code (PdfDocument.java), I find two solutions:
  1. Paint the background in a different layer (PdfContentByte) than the border.  Currently borders and background are painted in a separate ContentByte (writer.getDirectContentUnder())
  2. Paint first all the background of the table, then the cell border and finally the table border.
What do you think?

Regards,
    David Pérez

Reply via email to