ICEpdf
  1. ICEpdf
  2. PDF-180

Near infinit look in WordText space detection.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0.2, 4.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Viewer RI, text selection tool

      Description

      I can't seem to find the forum case that mentioned this but I have the code patch in my work plan. The PDF in question caused the initialization thread to go off to never never land because the WordText class was trying insert a couple hundred thousand spaces as part of its word detection calculation gone wrong. I think the corner case here is that the affine transform changed mid stream resulting in an incorrect space calculation.

        Activity

        Hide
        Patrick Corless added a comment -

        I put in a word space throttle of 50 spaces max. This correct the looping issue and avoids for now having to go through the trouble of normalizing the coordinate spaces.

        Show
        Patrick Corless added a comment - I put in a word space throttle of 50 spaces max. This correct the looping issue and avoids for now having to go through the trouble of normalizing the coordinate spaces.
        Hide
        Patrick Corless added a comment -

        checked in code, marking as resolved.

        Show
        Patrick Corless added a comment - checked in code, marking as resolved.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: