You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/10/24 19:18:01 UTC
[jira] [Created] (PDFBOX-4359) Bad sizing of signature field inside
rotated page
Tilman Hausherr created PDFBOX-4359:
---------------------------------------
Summary: 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
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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org