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

PageDrawer does not take the full CropBox into account

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.1
    • Swing GUI
    • None

    Description

      A client sent me a PDF which was basically a double-sided page of which only the right side was shown by the CropBox. But PDFBox displayed the left side in the PDFReader. I've created a minimal test case with FOP and a Hex Editor showing the problem. It seems as if the PageDrawer doesn't take the full CropBox information into account when painting the page.

      Attachments

        1. clipped-two-sider.pdf
          5 kB
          Jeremias Maerki
        2. PDFBOX848-clipped-two-sider1.png
          43 kB
          Andreas Lehmkühler
        3. PDFBOX-848-patch.diff
          2 kB
          Jeremias Maerki

        Activity

          People

            jeremias@apache.org Jeremias Maerki
            jeremias@apache.org Jeremias Maerki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: