From e5a0d81eb8a11f497551be22e4f16a53a42c3cb4 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Mon, 6 Oct 2014 09:43:14 +0200 Subject: removed wrong profile offsets (see issue #34) --- .../pdfas/lib/impl/stamping/pdfbox/PDFAsVisualSignatureBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf-as-lib/src/main/java/at/gv/egiz') 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) { -- cgit v1.2.3