Printing regression in update 10?
I seem to be on a roll today, not that I much enjoy running across bugs ;)
I am trying to print a JTable under Java6 update 10 beta 25 and I noticed that the print output is blurry. I created the testcase and produced screenshots under Java5, Java6 beta 24 and beta 25. What makes this bug even more interesting is that b25 is supposed to change the print behavior (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6696292) yet I see no difference between beta 24 and beta 25.
Can someone in Sun please double check that this fix actually rolled out in beta 25?
Here are the relevant screenshots:
and the testcase:
Please download a copy of these files soon because I plan on removing them in the near future.
The testcase contains a boolean "showDialog". When set to true, the testcase will prompt the user to select the printer. When set to false, it will automatically try to print using "Bullzip PDF Printer" (discussed below). The screenshots show that two distinct set of bugs:
1) Java5 and Java6 update 10 generate different output. Java6 update 10 produces blurry output and looks like a regression to me. I tried playing around with RenderingHints to disable any sort of anti-aliasing but it made no noticeable difference.
2) dialog vs no-dialog generate different output. I am not sure why no-dialog produces a corrupt output. As far as I can tell the same PrinterService is being used.
As you will see from the testcase, I tested the output using the "Bullzip PDF Printer" which you can download for free from http://www.bullzip.com/products/pdf/info.php
I used it to avoid having to print out hard-copies (instead I view the output on the screen). The added benefit is that it lets me take screenshots of any problems I encounter.
I look forward to your reply,