Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
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.
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.