ICEpdf
  1. ICEpdf
  2. PDF-864

Text not displayed on different zoom values

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.2
    • Fix Version/s: 6.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All

      Description

      With the provided PDF file, some text isn't displayed depending on the zoom value. Zooming in and out will show some text while hiding others.

        Activity

        Hide
        Patrick Corless added a comment -

        I'm pretty sure this issue is related to a bunch of other issue related to text extraction. The font in question after being parsed is reporting a zero ascent and descent which result in a combined height of zero. I've made a few logic changes to detect the problem and try and figure out a valid height. This change fixes the bbox for the text and thus the clip is properly represented and the text will now show at any zoom.

        Show
        Patrick Corless added a comment - I'm pretty sure this issue is related to a bunch of other issue related to text extraction. The font in question after being parsed is reporting a zero ascent and descent which result in a combined height of zero. I've made a few logic changes to detect the problem and try and figure out a valid height. This change fixes the bbox for the text and thus the clip is properly represented and the text will now show at any zoom.
        Hide
        Patrick Corless added a comment -

        Fix appears to be valid marking as fixed.

        Show
        Patrick Corless added a comment - Fix appears to be valid marking as fixed.
        Hide
        Patrick Corless added a comment -

        Marking as closed

        Show
        Patrick Corless added a comment - Marking as closed

          People

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

            Dates

            • Created:
              Updated:
              Resolved: