bug in RasterPrinterJob

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Wed Nov 29 10:19:23 UTC 2023


It seems there is a bug which I did reproduce and if a github fix PR is 
raised, I can sponsor it when approved by reviewers.

Regards
Prasanta
On 29-Nov-23 3:28 PM, V S wrote:
> Hello everybody
> I think there is a bug in sun.print.RasterPrinterJob, namely in 
> banded-raster printing loop of
> "printPage" method. This bug occurs on Windows platform only, when 
> real printer prints on real paper and getPhysicalPrintableX, 
> getPhysicalPrintableY methods of sun.awt.windows.WPrinterJob return 
> non-zero values. JDK version doesn't matter.
> How to reproduce it is described here
> https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8307246
> https://stackoverflow.com/questions/76110553/java-print-api-renders-on-paper-skewed-graphics
> I would like to propose a bug fix.
> May anybody reproduce this bug either to confirm that there is the bug 
> or to disprove it?
> May anybody be a sponsor if a bug is confirmed ?
> Thanks


More information about the client-libs-dev mailing list