Re: Cell border rendering error (thicker) with number-column-spanned
First, I understand why this issue is annoying. When I open the document Adobe defaults in my monitor to a 170% zoom and the problem is clearly visible. Incidentally the problem is not visible at 100%. But I looked at the document and can guarantee that the problem is with Adobe Reader. The thickness of the segments are always the same. In FOP 0.20.5 the cell that spans three columns is drawn with 4 segments. In FOP 1.0 the cell is drawn with 8 segments. Maybe due to some rounding error Adobe is drawing the middle segments at a different thickness for some magnification values, but in the PDF the thickness is always the same. I suggest you change your table layout. Maybe by nesting tables you can achieve the same visual output without needing to use spanning across columns... On 11/2/12 1:55 PM, reevev wrote: Hi, Thanks for your reply. While I can confirm that disabling Enhance thin lines corrects the display it doesn't solve the issue that the same templates rendered correctly even with this option enabled when we use 0.20.5 to generate the pdf. Our issue is that Enhance thin lines is turned on by default and for most users they will end up seeing a poor looking PDF now that we've started using Fop 1.0, vs. a correct looking PDF prior to the upgrade, so from the end user's perspective this is broken. Is there any way we can have the same sort of rendering used in 0.20.5 for table borders? Thanks, Reeve. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Cell-border-rendering-error-thicker-with-number-column-spanned-tp17999p37229.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Cell border rendering error (thicker) with number-column-spanned
Hi, The problem exists with other PDF viewers as well. I've tried foxit reader and it has the same issues. We are looking at re-writing templates not to use spanned columns where possible, and for other cases where this is not possible we will have to fall back to fop 0.20.5 which works as expected. This is definitely a fop isuse and not an Adobe Reader issue. The fact that we have a template transformed to pdf in fop 0.20.5 which renders correctly in both Adobe Reader and Foxit Reader, yet when transformed with fop 1.0 it renders incorrectly in both Adobe Reader and Foxit Reader points to a fop issue. The only part of the equation that has changed is replacing fop 0.20.5 with fop 1.0. We'll just treat it as a bug and if we get time to look into the source ourselves we will do so, otherwise will have to be mindful of the issue going forward. Thanks, Reeve. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Cell-border-rendering-error-thicker-with-number-column-spanned-tp17999p37241.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Cell border rendering error (thicker) with number-column-spanned
Hi, Thanks for providing the sample. I agree that this illustrates that the various PDF viewers are not doing the right thing with the line thickness and I'm not disagreeing with this point. However the fact remains that fop 0.20.5 output the borders in a method that the PDF viewers displayed correctly and newer versions of fop don't produce the desired output. By changing to fop 1.0 (or 1.1) we now are seeing output that isn't rendered correctly in the industry standard PDF viewer, as well as other common PDF viewers, and this is why I say the bug is with FOP. It may be technically correct output, but if it isn't displayed correctly anywhere it is besides the point. Is there somewhere I can find out more on why the border rendering was changed? I'm guessing there was a reason it was changed. If I wanted to change the source so it rendered the old way it would probably create different issues that I'm not aware of. Thanks, Reeve. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Cell-border-rendering-error-thicker-with-number-column-spanned-tp17999p37244.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org