[
https://issues.apache.org/jira/browse/PDFBOX-3417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-3417.
-------------------------------------
Resolution: Fixed
Assignee: Tilman Hausherr
Fix Version/s: 2.1.0
2.0.3
> Redundant/incorrect code in PDVisibleSignDesigner.java
> ------------------------------------------------------
>
> Key: PDFBOX-3417
> URL: https://issues.apache.org/jira/browse/PDFBOX-3417
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.2, 2.0.3, 2.1.0
> Reporter: Vittal Aithal
> Assignee: Tilman Hausherr
> Priority: Trivial
> Fix For: 2.0.3, 2.1.0
>
>
> org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDVisibleSignDesigner.java
> contains the following in the calculatePageSize method:
> {code}
> float x = pageWidth;
> float y = 0;
> pageWidth += y;
> float tPercent = (100 * y / (x + y));
> imageSizeInPercents = 100 - tPercent;
> {code}
> I can't see how this would result in anything but an imageSizeInPercents of
> 100.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]