Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2202

java.io.IOException: Found Token[kind=NAME, text=readonly] but expected def

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: FontBox
    • Labels:

      Description

      I get this exception with the attached file:

      11.07.2014 21:10:36.830 ERROR [main] org.apache.pdfbox.pdmodel.font.PDType1Font:220 - Can't read the embedded Type1 font GBCGAB+CMR10
      java.io.IOException: Found Token[kind=NAME, text=readonly] but expected def
      	at org.apache.fontbox.type1.Type1Parser.read(Type1Parser.java:741)
      	at org.apache.fontbox.type1.Type1Parser.parseASCII(Type1Parser.java:135)
      	at org.apache.fontbox.type1.Type1Parser.parse(Type1Parser.java:61)
      	at org.apache.fontbox.type1.Type1Font.createWithSegments(Type1Font.java:68)
      	at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:216)
      	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:56)
      

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: