You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Pei-Tang Huang (JIRA)" <ji...@apache.org> on 2015/08/12 08:19:46 UTC

[jira] [Comment Edited] (PDFBOX-2930) PDFPageable does not rotate portrait document with 90°/270° rotation well

    [ https://issues.apache.org/jira/browse/PDFBOX-2930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14692988#comment-14692988 ] 

Pei-Tang Huang edited comment on PDFBOX-2930 at 8/12/15 6:19 AM:
-----------------------------------------------------------------

[^landscape-rotated.pdf] is a document with 90°/270° rotation.

{{PDFPageable}} does not handle it well as following:

!prints.jpg!

Debug information on rotated portrait document:
!debug_info_on_rotated_document.png!

Debug information on normal document:
!debug_info_on_not_rotated_document.png!

Maybe we should rotate the media box as well as crop box to conform to the Java printing's nature?


was (Author: tan9):
[^landscape-rotated.pdf] is a document with 90°/270° rotation.

{{PDFPageable}} does not handle it well as following:

!prints.jpg!

Debug information on rotated portrait document:
!debug_info_on_rotated_document.png!

Debug information on normal document:
!debug_info_on_not_rotated_document.png!

> PDFPageable does not rotate portrait document with 90°/270° rotation well
> -------------------------------------------------------------------------
>
>                 Key: PDFBOX-2930
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2930
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Pei-Tang Huang
>         Attachments: debug_info_on_not_rotated_document.png, debug_info_on_rotated_document.png, landscape-rotated.pdf, prints.jpg
>
>
> Portrait document produced by JasperReports won't be print correctly by {{PDFPageable}}.



--
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