aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-06 09:43:14 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-06 09:43:14 +0200
commite5a0d81eb8a11f497551be22e4f16a53a42c3cb4 (patch)
treefe15c16d2f8ade026e5f5af84a8d001937066604 /pdf-as-lib/src/main
parent536b0f7e909fe7b9ff41d9df5141e8b2ef796e0e (diff)
downloadpdf-as-4-e5a0d81eb8a11f497551be22e4f16a53a42c3cb4.tar.gz
pdf-as-4-e5a0d81eb8a11f497551be22e4f16a53a42c3cb4.tar.bz2
pdf-as-4-e5a0d81eb8a11f497551be22e4f16a53a42c3cb4.zip
removed wrong profile offsets (see issue #34)
Diffstat (limited to 'pdf-as-lib/src/main')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsVisualSignatureBuilder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsVisualSignatureBuilder.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsVisualSignatureBuilder.java
index e6ebfe04..6186b088 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsVisualSignatureBuilder.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsVisualSignatureBuilder.java
@@ -785,12 +785,12 @@ public class PDFAsVisualSignatureBuilder extends PDVisibleSigBuilder {
PDRectangle rect = new PDRectangle();
Point2D upSrc = new Point2D.Float();
- upSrc.setLocation(properties.getxAxis() + properties.getWidth() + 10,
+ upSrc.setLocation(properties.getxAxis() + properties.getWidth(),
properties.getPageHeight() - properties.getyAxis());
Point2D llSrc = new Point2D.Float();
llSrc.setLocation(properties.getxAxis(), properties.getPageHeight()
- - properties.getyAxis() - properties.getHeight() - 10);
+ - properties.getyAxis() - properties.getHeight());
AffineTransform transform = new AffineTransform();
transform.setToIdentity();
if (degrees % 360 != 0) {