Hi,

I'm unable to reproduce this with PDFDebugger on windows. Is there more logging output? I wonder if PDFBox uses one of your local fonts and that one is broken.

Tilman

PS to anybody else: the "," is part of the password

Am 07.12.2021 um 15:56 schrieb Stefan Sauerer:
Hello PDFBox-Team,

Currently we are facing some error while converting the linked PDF.
You can download the file from here https://wecloud.world/s/2gK6rYDtbgxx5ME 
Password: r!mDR%mJ5,

The result is just a blank page. There is also an exception:

[WARN] Could not read all expected parts of version >= 2, setting version to 1
java.io.EOFException: null
                at 
org.apache.fontbox.ttf.MemoryTTFDataStream.readSignedShort(MemoryTTFDataStream.java:138)
                at 
org.apache.fontbox.ttf.OS2WindowsMetricsTable.read(OS2WindowsMetricsTable.java:859)
                at 
org.apache.fontbox.ttf.TrueTypeFont.readTable(TrueTypeFont.java:361)
                at 
org.apache.fontbox.ttf.TTFParser.parseTables(TTFParser.java:173)
                at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:150)
                at org.apache.fontbox.ttf.OTFParser.parse(OTFParser.java:79)
                at org.apache.fontbox.ttf.OTFParser.parse(OTFParser.java:27)
                at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:106)
                at org.apache.fontbox.ttf.OTFParser.parse(OTFParser.java:73)
                at 
org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:112)
                at 
org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:65)
                at 
org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:139)
                at 
org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:196)
                at 
org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:97)
                at 
org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:146)
                ...

So we did some investigation & research on that, but unfortunately we were not 
able to solve this problem. Maybe you guys can help us with this.

We are using PDFBox
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
                <version>2.0.24</version>
<dependency>

Thanks in advance & Kind regards from the CAS Campus

Stefan Sauerer

Software Engineer DevelopmentCenter SmartApp Factory

CAS Software AG· CAS-Weg 1 -5 · 76131 Karlsruhe, Germany · Phone: +49 721-9638-0
Successful relationships. www.cas.de/en<http://www.cas.de/en> · 
linkedin<http://www.linkedin.com/company/cas-software-ag>
Legals: http://www.cas.de/en/impressum.html

Executive board: Martin Hubschneider
Supervisory board: Dr. Dr. Jörg Maurer (chair) · Prof. Dr. Peter Lockemann · 
Kurt Sibold
Head Office: Karlsruhe · County Court Mannheim · Register of Companies Number: 
HRB 108751 ·
VAT Identification Number: DE14359314




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to