[OpenJDK 2D-Dev] [9] RFR JDK-8042713, , [macosx] Print dialog does not update attribute set with page range
prasanta sadhukhan
prasanta.sadhukhan at oracle.com
Fri Mar 18 09:02:25 UTC 2016
Hi Phil,
Please review a fix for
bug: https://bugs.openjdk.java.net/browse/JDK-8042713
webrev: http://cr.openjdk.java.net/~psadhukhan/8042713/webrev.00/
The OS X platform print dialog has an option to set the page ranges.
If this is done it ought to be reported back in the AttributeSet.
but it was found that the page range attribute is not reported back .
This is because nsPrintInfoToJavaPrinterJob() does not call correct Java
setxxxAttributes methods to set the attributes.
I added the corresponding setPageRangeAttribute method along with
setCopiesAttribute method to report back the "page range" and "copies"
in AttributeSet.
Regards
Prasanta
More information about the 2d-dev
mailing list