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

PageDrawer does not take the full CropBox into account

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.1
    • Component/s: Swing GUI
    • Labels:
      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. PDFBOX-848-patch.diff
          2 kB
          Jeremias Maerki
        2. PDFBOX848-clipped-two-sider1.png
          43 kB
          Andreas Lehmkühler
        3. clipped-two-sider.pdf
          5 kB
          Jeremias Maerki

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: