[ https://issues.apache.org/jira/browse/PDFBOX-5942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17922340#comment-17922340 ]
ASF subversion and git services commented on PDFBOX-5942: --------------------------------------------------------- Commit 1923462 from Tilman Hausherr in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1923462 ] PDFBOX-5942: allow empty dict > Can't read the embedded Type1 > ------------------------------- > > Key: PDFBOX-5942 > URL: https://issues.apache.org/jira/browse/PDFBOX-5942 > Project: PDFBox > Issue Type: Bug > Reporter: Richard Kwasnicki > Priority: Major > Attachments: sample-font-1.type1, sample-font-2.type1, > sample-font-3.type1 > > > Im using Apache PDFBox for a while, right now in Version 3.0.4 but > also with previous Versions I have a bunch of errors loading some > Fonts. > Some examples I provided here, the specific error is for the first one, but > they all follow the same error. > 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) -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org