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

IllegalArgumentException in Type2CharString.java

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.5, 3.0.0 PDFBox
    • Component/s: FontBox
    • Labels:
      None

      Description

      Happens at several places with attached file, e.g. like this:

      IllegalArgumentException: fromIndex(0) > toIndex(-6)
          java.util.SubList.<init>(AbstractList.java:624)
          java.util.RandomAccessSubList.<init>(AbstractList.java:775)
          java.util.AbstractList.subList(AbstractList.java:484)
          java.util.Vector.subList(Vector.java:1038)
          org.apache.fontbox.cff.Type2CharString.handleCommand(Type2CharString.java:233)
          org.apache.fontbox.cff.Type2CharString.access$000(Type2CharString.java:32)
          org.apache.fontbox.cff.Type2CharString$1.handleCommand(Type2CharString.java:89)
          org.apache.fontbox.cff.CharStringHandler.handleSequence(CharStringHandler.java:45)
          org.apache.fontbox.cff.Type2CharString.convertType1ToType2(Type2CharString.java:92)
          org.apache.fontbox.cff.Type2CharString.<init>(Type2CharString.java:58)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: