From fd45a7090178e053388bab29ff60c48f32d72ac1 Mon Sep 17 00:00:00 2001 From: tknall Date: Tue, 29 Sep 2009 08:37:52 +0000 Subject: Bug concerning text matching algorithm fixed. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@341 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java | 2 +- .../java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java | 2 +- src/main/resources/at/gv/egiz/pdfas/web/i18n/language.properties | 2 +- src/main/resources/at/gv/egiz/pdfas/web/i18n/language_de.properties | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java b/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java index cf6c9bf..95099ca 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java @@ -96,7 +96,7 @@ public abstract class PdfAS * The current version of the pdf-as library. This version string is logged on every invocation * of the api or the web application. */ - public static final String PDFAS_VERSION = "3.0.9-20090622"; + public static final String PDFAS_VERSION = "3.0.9-20090929"; /** * The key of the strict mode setting. diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java index 318701a..f898617 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java @@ -802,7 +802,7 @@ public class AbsoluteTextSignature { // determine the size of the largest block(s) int largest_size = Integer.MIN_VALUE; - for (int i = 1; i < found_blocks.size(); i++) + for (int i = 0; i < found_blocks.size(); i++) { FoundBlock fb = (FoundBlock) found_blocks.get(i); final int current_size = fb.found_keys.size(); diff --git a/src/main/resources/at/gv/egiz/pdfas/web/i18n/language.properties b/src/main/resources/at/gv/egiz/pdfas/web/i18n/language.properties index 1fb6b13..b96e64c 100644 --- a/src/main/resources/at/gv/egiz/pdfas/web/i18n/language.properties +++ b/src/main/resources/at/gv/egiz/pdfas/web/i18n/language.properties @@ -28,7 +28,7 @@ errorverify.title = PDF Signature: Result nullrequestpage.button.pleasewait = Please wait... nullrequestpage.button.submit = Submit... -nullrequestpage.heading2 = Sign pdf document +nullrequestpage.heading2 = Please wait... nullrequestpage.note.local = Contacting your citizen card software... nullrequestpage.note.server = Contacting the online citizen card software... nullrequestpage.title = PDF Signature: Local Connection diff --git a/src/main/resources/at/gv/egiz/pdfas/web/i18n/language_de.properties b/src/main/resources/at/gv/egiz/pdfas/web/i18n/language_de.properties index fe92ab0..5b7f309 100644 --- a/src/main/resources/at/gv/egiz/pdfas/web/i18n/language_de.properties +++ b/src/main/resources/at/gv/egiz/pdfas/web/i18n/language_de.properties @@ -28,7 +28,7 @@ errorverify.title = PDF-Signatur: Resultat nullrequestpage.button.pleasewait = Bitte warten... nullrequestpage.button.submit = Absenden... -nullrequestpage.heading2 = PDF Dokument signieren +nullrequestpage.heading2 = Bitte warten... nullrequestpage.note.local = Die Verbindung zu Ihrer Bürgerkartenumgebung wird hergestellt... nullrequestpage.note.server = Die Verbindung zur Online BKU wird hergestellt... nullrequestpage.title = PDF-Signatur: Lokale Verbindung -- cgit v1.2.3