[ https://issues.apache.org/jira/browse/PDFBOX-4359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662732#comment-16662732 ]
ASF subversion and git services commented on PDFBOX-4359: --------------------------------------------------------- Commit 1844787 from til...@apache.org in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1844787 ] PDFBOX-4359: don't use hard coded dimensions but use image dimensions for affine transform > Bad sizing of signature field inside rotated page > ------------------------------------------------- > > Key: PDFBOX-4359 > URL: https://issues.apache.org/jira/browse/PDFBOX-4359 > Project: PDFBox > Issue Type: Bug > Components: Signing > Affects Versions: 2.0.12 > Reporter: Tilman Hausherr > Assignee: Tilman Hausherr > Priority: Major > Fix For: 2.0.13, 3.0.0 PDFBox > > > From Patrick Herber in the user mailing list: > {quote} > I have some problems with the sizing of a signature field inside a rotated > document page (90 > degrees). > If instead of specifying the zoom factor (as in the CreateVisibleSignature > example) I specify > the desired height and width of the signature, the resulting image has > completely wrong dimensions: > {code} > visibleSignDesigner.xAxis(x).yAxis(y).height(height).width(width).adjustForRotation(); > {code} > If the page is not rotated or if I remove the call to adjustForRotation() > then the image is > correctly displayed (in case of rotated document of course rotated but with > the correct proportions). > {quote} > The problem is that \{{adjustForRotation()}} is hard-coded for 200 x 100 size. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org