J2SE Version (please include all output from java -version flag):
java version "1.6.0-rc"
Java(TM) SE Runtime Environment (build 1.6.0-rc-b103)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b103, mixed mode)
Does this problem occur on J2SE 1.3, 1.4.x or 1.5? Yes / No (pick one)
No.
Operating System Configuration Information (be specific):
Windows
Bug Description:
A regression with JDK 1.6. The problem is releated to landscape and complex
Graphics transformation on Windows.
The problem occur only if we receive an instance of sun.print.ProxyGraphics2D
as Graphics. If we receive an instance sun.awt.windows.WPathGraphics then all
print ok. Also it seems that the bug has the follow conditions:
* Java 1.6
* drawString
* landscape printing
* raster printing
* large Fonts
Steps to Reproduce (be specific):
You can start it with:
java -cp TestPrinterJob.jar TestPrinterJob or
java PrinterJobTest
After you start you see viewer with a single page with a chart. Click on the print
button in the toolbar and select a printer. Then you will see the output on the
printer.
Results:
With Java 1.4.x and Java 1.5.x the output is ok. With Java 1.6 with different
builds some text is wrong.
* Some text is upside down and wrong placed.
* Other text is missing