ICEpdf
  1. ICEpdf
  2. PDF-852

PrintHelper - Missing charaters when PDF is printed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 5.1.1
    • Fix Version/s: 6.0.1
    • Component/s: Printing
    • Labels:
      None
    • Environment:
      All
    • Workaround Description:
      -Dorg.icepdf.core.text.optimized=true

      Description

      When the provided PDF file is printed via the PrintHelper, many characters in the PDF are missing. These characters are not missing when rendered via the ICEpdf Viewer.

        Activity

        Hide
        Patrick Corless added a comment -

        This is a very unusual PDF document. The bounding box of a glyph can be seen when text selection is used and in this case the box is always below the text. Interestingly enough Acrobat has this behavior as well. The bounding box is what is used to define the glyph clip and during printing a narrow print band/clip could cause the glyph to fail to paint as the band and bounds don't intersect.

        The only recommendation we can give at this time is to use the system property org.icepdf.core.text.optimized=false which will disable clip detection for painting glyphs.

        Show
        Patrick Corless added a comment - This is a very unusual PDF document. The bounding box of a glyph can be seen when text selection is used and in this case the box is always below the text. Interestingly enough Acrobat has this behavior as well. The bounding box is what is used to define the glyph clip and during printing a narrow print band/clip could cause the glyph to fail to paint as the band and bounds don't intersect. The only recommendation we can give at this time is to use the system property org.icepdf.core.text.optimized=false which will disable clip detection for painting glyphs.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: