Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2843

PDFDocumentGraphics2D#nextPage() creates a copy of the current page instead of an empty page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1
    • None
    • renderer/pdf
    • None
    • Windows 8.1

    Description

      When creating a multi-page PDF with PDFDocumentGraphics2D, each page contains a copy of the previous page.

      In the attached sample, the expected content is: "Page 1" on page 1, "Page 2" on page 2, "Page 3" on page 3

      The actual content is: "Page 1" on page 1, "Page 1" and "Page 2" on page 2, "Page 1", "Page 2", "Page 3" on page 3

      Attachments

        1. MultiPagePdf.java
          2 kB
          Martin Leitner

        Activity

          People

            Unassigned Unassigned
            martin.leitner@infinica.com Martin Leitner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: