aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox/src/main/java/at/knowcenter/wag
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2015-11-17 14:35:49 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2015-11-19 09:03:36 +0100
commit95ae6ca046fe56c033a92a4342cb230b1c811221 (patch)
tree9db3957ac8126e190121534d2e6494648a96ea72 /pdf-as-pdfbox/src/main/java/at/knowcenter/wag
parentfff11de5c0866caba532dd1a78fee943f837dd51 (diff)
downloadpdf-as-4-95ae6ca046fe56c033a92a4342cb230b1c811221.tar.gz
pdf-as-4-95ae6ca046fe56c033a92a4342cb230b1c811221.tar.bz2
pdf-as-4-95ae6ca046fe56c033a92a4342cb230b1c811221.zip
synchronized verifier
Diffstat (limited to 'pdf-as-pdfbox/src/main/java/at/knowcenter/wag')
-rw-r--r--pdf-as-pdfbox/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFPage.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/pdf-as-pdfbox/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFPage.java b/pdf-as-pdfbox/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFPage.java
index 48e6d3d2..dfe31ef8 100644
--- a/pdf-as-pdfbox/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFPage.java
+++ b/pdf-as-pdfbox/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFPage.java
@@ -386,14 +386,15 @@ public class PDFPage extends PDFTextStripper {
fontObj = getCurrentPage().getResources().getCOSDictionary()
.getDictionaryObject(COSName.FONT);
}
+
Map<String, PDFont> fontMap = getCurrentPage().findResources()
.getFonts();
-
+
if (fontObj != null) {
getCurrentPage().getResources().getCOSDictionary()
.setItem(COSName.FONT, fontObj);
}
-
+
return fontMap;
}