mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8167102: [macosx] PrintRequestAttributeSet breaks page size set using PageFormat
Reviewed-by: psadhukhan, prr
This commit is contained in:
parent
0b9c38fa6e
commit
6f11b96297
3 changed files with 240 additions and 10 deletions
|
@ -886,14 +886,6 @@ public abstract class RasterPrinterJob extends PrinterJob {
|
|||
}
|
||||
}
|
||||
|
||||
protected PageFormat getPageFormatFromAttributes() {
|
||||
if (attributes == null || attributes.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
return attributeToPageFormat(getPrintService(), this.attributes);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Presents the user a dialog for changing properties of the
|
||||
* print job interactively.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue