[ https://issues.apache.org/jira/browse/PDFBOX-5910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17901767#comment-17901767 ]
Michael Klink commented on PDFBOX-5910: --------------------------------------- Well, my tendency in these situations is that if there is an error in the PDF, the results may be arbitrary and optimally PDFBox should show an error (as exception or in some collection of errors an application may scan). But I do know the PDFBox tendency is different. I would propose, though, to first check whether those other programs display the PDF as landscape because they use the first value of a key instead of the last one, or whether they display it because they ignore the *Type*. In the latter case the proposed change to use the first value would make PDFBox work with this PDF but stop working with others. > PDF rendered as a portrait instead of landscape > ----------------------------------------------- > > Key: PDFBOX-5910 > URL: https://issues.apache.org/jira/browse/PDFBOX-5910 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 2.0.32, 3.0.3 PDFBox > Reporter: Tilman Hausherr > Priority: Major > Labels: regression > Attachments: PI0245990544_001 > (96ba129e-6156-4cfe-a1ee-d9ff2ec0e898).pdf, screenshot-1.png, screenshot-2.png > > > Worked properly with 2.0.13, fails with 2.0.14. Maybe failure to access the > information through the parent. > !screenshot-1.png! -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org