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

          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: