DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=24438>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=24438 Table cells with background-color attribute specified may damage borders for rounding table cells. ------- Additional Comments From [EMAIL PROTECTED] 2004-07-21 09:04 ------- This Problem is actually two Problems: 1. Borders have to be rendered after backgrounds. Namchaninov's Patch takes care of that. 2. Cell backgrounds are being rendered (0.5pt in every direction) larger than they should, bleeding into and overlapping borders of other cells. This happens because the background is at long last rendered in PDF as a filled rectangle WITH a border in the same color - which I guess to be 1pt wide. Bad function in PrintRenderer: protected void addFilledRect(int x, int y, int w, int h, PDFPathPaint fill) { addRect(x, y, w, h, fill, fill); } My quick'n extraordinary dirty fix is to change the addRect-function in PDFRenderer like this: if (stroke== fill) addFilledRect(x, y, w, h, fill); else { blah..blah.. Hope this helps someone