diff options
author | Thomas Lenz <thomas.lenz@iaik.tugraz.at> | 2023-01-12 12:26:00 +0000 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@iaik.tugraz.at> | 2023-01-12 12:26:00 +0000 |
commit | ab328e055e01b12a91c8ccee4ac0cbea3e0fb282 (patch) | |
tree | e0c57f79dc1a57d3f6c4e3af1d982b750bad96f9 /pdf-as-pdfbox-2 | |
parent | 74668d9f7e8cfb9c729e804067984d0f5e731f2f (diff) | |
parent | e78fccac558a93f18bae96ddb6c8e131afaf946d (diff) | |
download | pdf-as-4-ab328e055e01b12a91c8ccee4ac0cbea3e0fb282.tar.gz pdf-as-4-ab328e055e01b12a91c8ccee4ac0cbea3e0fb282.tar.bz2 pdf-as-4-ab328e055e01b12a91c8ccee4ac0cbea3e0fb282.zip |
Merge branch 'development' into 'feature/issue_73'
# Conflicts:
# build.gradle
# pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox2/PADESPDFBOXSigner.java
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; } |