You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2015/08/11 01:01:46 UTC
[jira] [Commented] (PDFBOX-2922) Printing issues with landscape
pages
[ https://issues.apache.org/jira/browse/PDFBOX-2922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14680918#comment-14680918 ]
John Hewson commented on PDFBOX-2922:
-------------------------------------
That's the correct behaviour, the purpose of a Pageable is to return the original page sizes in the source document. If you want to override the page sizes, use a Book instead of a PDFPageable. See our [printWithPaper()|https://github.com/apache/pdfbox/blob/trunk/examples/src/main/java/org/apache/pdfbox/examples/printing/Printing.java] example.
However, I think you're having issues due to a bug, which I've fixed below, so it shouldn't matter.
> Printing issues with landscape pages
> ------------------------------------
>
> Key: PDFBOX-2922
> URL: https://issues.apache.org/jira/browse/PDFBOX-2922
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: Pei-Tang Huang
> Assignee: John Hewson
> Attachments: landscape.pdf, rotated_cropping_failed.jpg, success.jpg
>
>
> Would you please remove the {{final}} modifier from {{PDFPrintable}} and {{PDFPageable}} so that one can extending those classes.
> UPDATE: I've modified the original title of this issue to reflect the underlying bug, rather than the user wanting to have "final" removed for these classes and fix the bug themselves.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org