Hi,
I've approved your JIRA registration, please attach the file there, that doesn't work on the mailing list. Either the font is broken, or that part of the type1 font uses a code we don't support (in theory we would have to support postscript in full, but we support only a small part). I can analyse your font because I run a PDFBox version that saves the problematic part on my disk.
Tilman

On 30.01.2025 11:26, Richard Kwasnicki wrote:
Hey there,

Im using Apache PDFBox for a while, right now in Version 3.0.3 but also with previous Versions I have a Bunch of Errors loading some Fonts. One example i provided here.

It says: Can't read the embedded Type1 font ZSQJQL+GuardianSans-Light_00

 java.io.IOException: Found Token[kind=NAME, text=def] but expected begin at org.apache.fontbox.type1.Type1Parser.read(Type1Parser.java:893) at org.apache.fontbox.type1.Type1Parser.readSimpleDict(Type1Parser.java:326) at org.apache.fontbox.type1.Type1Parser.parseASCII(Type1Parser.java:136) at org.apache.fontbox.type1.Type1Parser.parse(Type1Parser.java:63) at org.apache.fontbox.type1.Type1Font.createWithSegments(Type1Font.java:85) at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:243) at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:140) at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:170)

Best, Richard

Richard Kwasnicki
Softwareentwickler
Telefon: +49 351 215 908 34
E-Mail: rkwasni...@avantgarde-labs.de
Website <https://avantgarde-labs.com/> · LinkedIn <https://www.linkedin.com/company/avantgarde-labs-gmbh/> · Datenschutzbestimmungen <https://avantgarde-labs.com/de/datenschutzbestimmungen/>
Avantgarde Labs GmbH · Theresienstr. 9 · 01097 Dresden
Geschäftsführung: Robert Glaß, Torsten Hartmann, Sandy Lucka, Sven Rega
Sitz Dresden · Amtsgericht Dresden · HRB 31215 · USt-ID DE283937395
*Avantgarde Labs* · Wir lieben Entwicklung.


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

Reply via email to