aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/placeholder/SignaturePlaceholderExtractor.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/placeholder/SignaturePlaceholderExtractor.java b/src/main/java/at/gv/egiz/pdfas/placeholder/SignaturePlaceholderExtractor.java
index 76a4dec..89d8497 100644
--- a/src/main/java/at/gv/egiz/pdfas/placeholder/SignaturePlaceholderExtractor.java
+++ b/src/main/java/at/gv/egiz/pdfas/placeholder/SignaturePlaceholderExtractor.java
@@ -25,7 +25,6 @@ import org.apache.pdfbox.util.PDFStreamEngine;
import org.apache.pdfbox.util.ResourceLoader;
import at.gv.egiz.pdfas.api.commons.Constants;
-import at.gv.egiz.pdfas.api.sign.SignParameters;
import at.gv.egiz.pdfas.exceptions.ErrorCode;
import at.gv.egiz.pdfas.exceptions.framework.PlaceholderExtractionException;
import at.gv.egiz.pdfas.utils.PDFASUtils;
@@ -205,9 +204,9 @@ public class SignaturePlaceholderExtractor extends PDFStreamEngine {
Matrix unrotatedCTM = ctm.multiply( rotationInverseMatrix );
- float x = unrotatedCTM.getXPosition() - 1F;
- float y = unrotatedCTM.getYPosition() + unrotatedCTM.getYScale() + 1F;
- float w = unrotatedCTM.getXScale() + 2F;
+ float x = unrotatedCTM.getXPosition();
+ float y = unrotatedCTM.getYPosition() + unrotatedCTM.getYScale();
+ float w = unrotatedCTM.getXScale();
String posString = "p:" + currentPage + ";x:" + x + ";y:" + y + ";w:" + w;
try