ICEpdf
  1. ICEpdf
  2. PDF-924

Incorrect font bounds resulting in missing printed content.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0_P01
    • Fix Version/s: 6.1.1
    • Component/s: Core/Parsing, Printing
    • Labels:
      None
    • Environment:
      any

      Description

      The support case in question has a few PDFs that have glyph bounds that are very large or in the incorrect place. This is causing artifact issues with text selection as well as messing up printing as same glyphs are getting clipped by the print band clip.

        Activity

        Hide
        Patrick Corless added a comment -

        It would appear the bounds for the type 3 fonts are incorrect. Adobe seems to get the same result as our calculation which can be seen by the text selection highlighting.

        Because we can't control the printers clipping bounds or correct for the font's bounds I've added a new system property that will disable the intersection calculation for type 3 fonts. So the end user can use -Dorg.icepdf.core.text.optimized.type3=false to fix the printing issue.

        Show
        Patrick Corless added a comment - It would appear the bounds for the type 3 fonts are incorrect. Adobe seems to get the same result as our calculation which can be seen by the text selection highlighting. Because we can't control the printers clipping bounds or correct for the font's bounds I've added a new system property that will disable the intersection calculation for type 3 fonts. So the end user can use -Dorg.icepdf.core.text.optimized.type3=false to fix the printing issue.
        Hide
        Patrick Corless added a comment -

        Checked in a fix for trunk and the 6.1 branch.

        Show
        Patrick Corless added a comment - Checked in a fix for trunk and the 6.1 branch.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: