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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • FontBox

    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

        1. PDFBOX-2202-003417.pdf
          92 kB
          Tilman Hausherr

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: