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

PDFDebugger Text View for Streams hides errors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.21, 3.0.0 PDFBox
    • Fix Version/s: 2.0.22, 3.0.0 PDFBox
    • Component/s: Utilities
    • Labels:
    • Environment:
      Win10

      Description

      In the context of this stack overflow question I used the PDF Debugger to inspect the second page content stream of page 6 of the document provided as example, 2-30-SL-manual-DE.pdf, also attached to this issue.

      The problem that question was about is caused by an invalid literal (neither string nor number) in some TJ instruction array argument. This literal indeed was visible in the hex view of the PDF debugger:

      (See the "Tw" literals in the TJ arrays.)

      But in the text view it was hidden:

        Attachments

        1. 2-30-SL-manual-DE.pdf
          468 kB
          Michael Klink
        2. 2-30-SL-manual-DE.pdf-6-2-Hex.png
          13 kB
          Michael Klink
        3. 2-30-SL-manual-DE.pdf-6-2-Txt.png
          4 kB
          Michael Klink

          Issue Links

            Activity

              People

              • Assignee:
                lehmi Andreas Lehmkühler
                Reporter:
                mkl Michael Klink
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: