diff options
Diffstat (limited to 'pdf-as-pdfbox-2')
-rw-r--r-- | pdf-as-pdfbox-2/build.gradle | 12 | ||||
-rw-r--r-- | pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox2/PDFBoxFont.java | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/pdf-as-pdfbox-2/build.gradle b/pdf-as-pdfbox-2/build.gradle index b37462bd..9d60b7b2 100644 --- a/pdf-as-pdfbox-2/build.gradle +++ b/pdf-as-pdfbox-2/build.gradle @@ -32,12 +32,12 @@ releases.dependsOn sourcesJar dependencies { implementation project (':pdf-as-lib') implementation group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion - implementation 'org.slf4j:jcl-over-slf4j:1.7.32' - api group: 'org.apache.pdfbox', name: 'pdfbox', version: '2.0.25' - api group: 'org.apache.pdfbox', name: 'pdfbox-tools', version: '2.0.25' - api group: 'org.apache.pdfbox', name: 'preflight', version: '2.0.25' - implementation group: 'commons-io', name: 'commons-io', version: '2.8.0' - implementation group: 'ognl', name: 'ognl', version: '3.2.19' + implementation 'org.slf4j:jcl-over-slf4j:1.7.35' + api group: 'org.apache.pdfbox', name: 'pdfbox', version: '2.0.27' + api group: 'org.apache.pdfbox', name: 'pdfbox-tools', version: '2.0.27' + api group: 'org.apache.pdfbox', name: 'preflight', version: '2.0.27' + implementation group: 'commons-io', name: 'commons-io', version: '2.11.0' + implementation group: 'ognl', name: 'ognl', version: '3.3.4' testImplementation group: 'junit', name: 'junit', version: '4.+' api group: 'com.github.jai-imageio', name: 'jai-imageio-jpeg2000', version: '1.4.0' diff --git a/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox2/PDFBoxFont.java b/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox2/PDFBoxFont.java index 415aa74a..a63d9d6f 100644 --- a/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox2/PDFBoxFont.java +++ b/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox2/PDFBoxFont.java @@ -218,7 +218,7 @@ public class PDFBoxFont { PDFont font = pdfObject.getSigBlockFontCache().getFont(fontDesc); if (font == null) { pdfObject.getSigBlockFontCache().showAvailableFonts(); - throw new IOException("Invalid font descriptor"); + throw new IOException("Invalid font descriptor \"" + fontDesc + "\""); } return font; } |