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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21611 Wed Jun 02 07:39:01 MDT 2010 patrick.corless PDF-180 addition of word space dection/insertion cap of 50 characters.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/WordText.java
        Patrick Corless created issue -
        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.
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.0.2 [ 10234 ]
        Hide
        Patrick Corless added a comment -

        checked in code, marking as resolved.

        Show
        Patrick Corless added a comment - checked in code, marking as resolved.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Fix Version/s 4.1 [ 10227 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: