[ https://issues.apache.org/jira/browse/PDFBOX-6048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18012846#comment-18012846 ]
Michael Klink commented on PDFBOX-6048: --------------------------------------- I wonder whether the crop box (defaulting to the media box) wouldn't be the better choice. > Overlay on PDF with unusual media box not visible > ------------------------------------------------- > > Key: PDFBOX-6048 > URL: https://issues.apache.org/jira/browse/PDFBOX-6048 > Project: PDFBox > Issue Type: Bug > Components: Utilities > Affects Versions: 2.0.34, 3.0.5 PDFBox > Reporter: Tilman Hausherr > Assignee: Tilman Hausherr > Priority: Major > Fix For: 4.0.0 > > Attachments: originalPDF.pdf, overlay.pdf > > > See attached link; user had a file and an overlay and the result wasn't > visible. The reason is that calculateAffineTransform() assumes that our > origin is (0,0) and in this file it is (0,-6600). > I'll change the method accordingly but won't touch the earlier versions > because this could change existing applications. We'll have to put this on > the migration list. -- 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