That's fixed but didn't make the last (itext-paulo) release. Change the following PdfContentByte.rectangle (Rectangle rectangle):
// the backgroundcolor is set Color background = rectangle.backgroundColor(); if (background != null) { setColorFill(background); rectangle(x1, y1, x2 - x1, y2 - y1); fill(); resetRGBColorFill(); } else if (rectangle.grayFill() > 0.0) { setGrayFill((float)rectangle.grayFill()); rectangle(x1, y1, x2 - x1, y2 - y1); fill(); resetGrayFill(); } Best Regards, Paulo Soares > -----Original Message----- > From: "sébastien laforet" [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 9:42 > To: [EMAIL PROTECTED] > Subject: [iText-questions] table, cell, backgroundcolor and offset > > > hello, > > when using a Table, the FIRST cell has a backgroundcolor which spans > larger than the border of the cell. but the second, third, .. cell > don't have the problem. so visually the first cell seems a bit wider > and taller than the others. > > i have noted that when using table.setOffset(-xxx), the problem can > appear, also when the table is juste after a page break. but without > any offset and without page break, there's no problem. > > it seems to me that the problem appears only when there is some > vertical ajustement difficulty, like the bottom or top of a page, or > offset. wheter the offset is important, i don't know but after a page > break (automatic, not manual), the problem is always present. > > i would be glad to know about a solution. i can't use pdfptable for > various reasons. > > > > -- > Sébastien LAFORET - Sully Group > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions