annotation->boundary() can give completely wrong results
Submitted by Mark Summerfield
Assigned to poppler-bugs
Description
I am using Poppler with the Qt 4 interface.
Very occassionally when I call annotation->boundary() I get a rectangle that is completely wrong:
Poppler 0.18.2 QRectF(0.478033,0.459282 0.0294118x0.0238095) QRectF(0.220649,0.284354 0.0294118x0.0238095) QRectF(0.205549,0.149167 0.33766x0.676628) ########## WRONG QRectF(0.449178,0.752604 0.0580752x0.0176349) QRectF(0.786647,0.521622 0.0154477x0.0101905) QRectF(0.508866,0.56928 0.0154477x0.0101905)
Poppler 0.19.2 QRectF(0.478033,0.459282 0.0294118x0.0238095) QRectF(0.220649,0.284354 0.0294118x0.0238095) QRectF(0.205549,0.149167 0.33766x0.676628) ########## WRONG QRectF(0.449178,0.752604 0.0580752x0.0176349) QRectF(0.786647,0.521622 0.0154477x0.0101905) QRectF(0.508866,0.56928 0.0154477x0.0101905)
In this case the annotation is for a deleted hyphen, so the rectangle should be very small (like the others).
In a 500 page document with hundreds of annotations this bug occurs on three pages.