PDFBox
  1. PDFBox
  2. PDFBOX-632

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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 !

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development