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

"unknown command" in Type1CharString.handleCommand

    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 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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: