Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.8.7, 2.0.0
    • Component/s: Utilities
    • Labels:
      None
    • Environment:
      Win XP; Windows Server 2008 R2; java version "1.6.0_21",

      Description

      pdfbox Utility pdfMerger produces a merged document containing garbage. All merged pdf files are contained but Strings are destroyed.

      The source pdf files are created with graphviz and are readable without error or disturbance both with Acrobat X and pdfbox pdfDebug Utility.

      Another astounding thing is that a handcoded merger using pdfMergerUtility class works fine when run within Eclipse Juno and creates same garbage when run from cmd line (pls. see attached source PdfRenderer.java)

      I checked everything that comes in mind to find the differences, e.g. Java version, encoding/codepage issues, memory settings, found nothing.

        Attachments

        1. targetPdfMergeUtilityApp.pdf
          105 kB
          Michael Huber
        2. targetPdfMergeJava.pdf
          105 kB
          Michael Huber
        3. PdfRenderer.java
          2 kB
          Michael Huber
        4. PDFMergerUtility.java.diff
          3 kB
          Kirk Haines
        5. PDFMergerUtility.java
          16 kB
          Kirk Haines
        6. PDFBox.GlobalResourceMergeTest.Merged-1.8.7.pdf
          21 kB
          Maruan Sahyoun
        7. PDFBox.GlobalResourceMergeTest.Merged-1.8.6.pdf
          21 kB
          Maruan Sahyoun
        8. PDFBox.GlobalResourceMergeTest.Doc02.decoded.pdf
          14 kB
          Maruan Sahyoun
        9. PDFBox.GlobalResourceMergeTest.Doc01.decoded.pdf
          14 kB
          Maruan Sahyoun
        10. 2.pdf
          91 kB
          Michael Huber
        11. 1.pdf
          85 kB
          Michael Huber
        12. 078118.pdf
          1.01 MB
          Tilman Hausherr
        13. 078117u2.pdf
          6.45 MB
          Tilman Hausherr
        14. 078117u1.pdf
          6.45 MB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pdfbox_mike Michael Huber
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: