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

"CMap is invalid" exception thrown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.11, 2.0.12
    • 2.0.13, 3.0.0 PDFBox
    • Rendering
    • None

    Description

      The follwoing error is thrown within the preview generation. With Adobe Reader or Foxit the file is able to open and correctly shown.

       

      CMap is invalid
      org.apache.fontbox.cmap.CMap readCode: 123
      org.apache.pdfbox.pdmodel.font.PDType0Font readCode: 521
      org.apache.pdfbox.contentstream.PDFStreamEngine showText: 699
      org.apache.pdfbox.contentstream.PDFStreamEngine showTextString: 595
      org.apache.pdfbox.contentstream.operator.text.ShowText process: 55
      org.apache.pdfbox.contentstream.PDFStreamEngine processOperator: 848
      org.apache.pdfbox.contentstream.PDFStreamEngine processStreamOperators: 503
      org.apache.pdfbox.contentstream.PDFStreamEngine processStream: 477
      org.apache.pdfbox.contentstream.PDFStreamEngine processPage: 150
      org.apache.pdfbox.rendering.PageDrawer drawPage: 254
      org.apache.pdfbox.rendering.PDFRenderer renderImage: 245
      org.apache.pdfbox.rendering.PDFRenderer renderImageWithDPI: 179
      vlh.Tools.PDF.PDFBoxUtil generateImage: 863
      vlh.notes.BSTArchive.File.pdf.PdfFileExtend generatePreviewImage: 170

      Attachments

        1. test.pdf
          978 kB
          Nico Prenzel

        Activity

          People

            Unassigned Unassigned
            nico.prenzel Nico Prenzel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: