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

IOException: Found Token[kind=NAME, text=put] but expected LITERAL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.0.20
    • None
    • FontBox
    • None

    Description

      When processing the attached PDF you receive the following error message:

      2020-07-27 22:25:54.642 ERROR [http-nio-8080-exec-8][PDType1Font:273] Can't read the embedded Type1 font ABJEHJ+Helvetica Narrow java.io.IOException: Found Token[kind=NAME, text=put] but expected LITERAL at
       org.apache.fontbox.type1.Type1Parser.read(Type1Parser.java:812)
      

      This seems to be due to the embedded type1 font (Helvetica Narrow) having the following construction:

      0 1 255 {1 index exch /.notdef put} for
      readonly def put } for
      

      Attachments

        1. ajusto-condition-dispositif_ON.pdf
          105 kB
          Lianne Louie
        2. Type1-Ascii-625-1597376523881.bin
          5 kB
          Tilman Hausherr

        Activity

          People

            Unassigned Unassigned
            liannelouie Lianne Louie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: