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

"unknown command" in Type1CharString.handleCommand

    XMLWordPrintableJSON

Details

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

    Description

      I get this at page 24 of the attached PDF:

      IOException for file pdfbox-2192-006972.pdf
      java.lang.IllegalArgumentException: Unknown command: null
      	at org.apache.fontbox.cff.Type1CharString.handleCommand(Type1CharString.java:260)
      	at org.apache.fontbox.cff.Type1CharString.access$000(Type1CharString.java:39)
      	at org.apache.fontbox.cff.Type1CharString$1.handleCommand(Type1CharString.java:135)
      	at org.apache.fontbox.cff.CharStringHandler.handleSequence(CharStringHandler.java:45)
      	at org.apache.fontbox.cff.Type1CharString.render(Type1CharString.java:138)
      	at org.apache.fontbox.cff.Type1CharString.getPath(Type1CharString.java:110)
      

      A source code comment tells "indicates a PDFBox bug".

      Attachments

        1. PDFBOX-2192-006972.pdf
          657 kB
          Tilman Hausherr

        Activity

          People

            jahewson John Hewson
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: