Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Printing to Windows XPS or fax virtual printers
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      1.) Where content types permit, set the system property -Dorg.icepdf.core.paint.disableClipping=true.

      2.) Replace line 419 in PrintHelper currenPage.paint(...) with
           Image image = viewController.getDocument().getPageImage(pageIndex,
                      GraphicsRenderingHints.PRINT,
                      Page.BOUNDARY_CROPBOX,
                      rotation, zoomFactor);
              printGraphics.drawImage(image,0,0,null);

            Lower quality print but avoids the clipping issue as well
      Show
      1.) Where content types permit, set the system property -Dorg.icepdf.core.paint.disableClipping=true. 2.) Replace line 419 in PrintHelper currenPage.paint(...) with      Image image = viewController.getDocument().getPageImage(pageIndex,                 GraphicsRenderingHints.PRINT,                 Page.BOUNDARY_CROPBOX,                 rotation, zoomFactor);         printGraphics.drawImage(image,0,0,null);       Lower quality print but avoids the clipping issue as well

      Description

      A few clients have sent us PDF samples that render correctly on screen but are subject to clipping problems when printing.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #21995 Wed Jul 21 10:56:34 MDT 2010 patrick.corless PDF-191 added commented out print to image optional code and fixed an ordering issue with the paramaters being passed into currentPage.paint(), the bounding box and rendering hints where in the incorrect order.
          Files Changed
          Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/PrintHelper.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #21994 Wed Jul 21 10:53:06 MDT 2010 patrick.corless PDF-191 addition of new dynamic system proeprty that allows users as a last resort can turn off clipping during printing. org.icepdf.core.paint.disableClipping default value is false.
          Files Changed
          Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/Shapes.java

            People

            • Assignee:
              Patrick Corless
              Reporter:
              Patrick Corless
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: