[
https://issues.apache.org/jira/browse/PDFBOX-5332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-5332:
------------------------------------
Fix Version/s: (was: 2.0.25)
> media box size changes after addPage
> ------------------------------------
>
> Key: PDFBOX-5332
> URL: https://issues.apache.org/jira/browse/PDFBOX-5332
> Project: PDFBox
> Issue Type: Bug
> Reporter: Sally Oh
> Priority: Major
> Attachments: 실패하지 않는 책 스터디.pdf
>
>
> After addPage to a new PDDocument, it seems like that added page size is
> changed to 'Letter size'
> {code:java}
> val page = PDDocument.load(File(path).pages.get(0)
> println(page.mediaBox.height) // prints 540.0
> newPdf.addPage(page)
> println(newPdf.getPage(0).mediaBox.height) // prints 792.0{code}
> Every other pdf files I have doesn't have this issue but only this file.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]