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

Invalid page rendering while printing a PDF with an image inside.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Environment:
      Windows XP SP3 32 bit
      Sun JDK 1.6.0_18

      Description

      As soon as an image is included inside a page, all pages after that page are rendered only within the boundary of this image !?!?!

      Steps to reproduce:

      • create a pdf with 2 pages
      • add an image on the first page (50px,50px) and centered on that page
      • add a text on the second page and centered on that page
      • print the pdf page throught org.apache.pdfbox.PrintPDF

      Attached, you will find a sample pdf to reproduce that bug.

      One more thing... if we use org.apache.pdfbox.PDFToImage instead, all pages are correctly rendered. That's kinda weird !

        Attachments

        1. PDFBOX-632.pdf
          2 kB
          Bertrand Gillis
        2. PDFBOX-632.xps
          28 kB
          Bertrand Gillis
        3. PDFBOX-632.out.pdf
          11 kB
          Maruan Sahyoun
        4. PDFBOX-632.out.win.pdf
          9 kB
          Maruan Sahyoun

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bgillis Bertrand Gillis
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: