[Poppler-bugs] [Bug 48373] New: annotation->boundary() can give completely wrong results

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 6 01:34:05 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48373

             Bug #: 48373
           Summary: annotation->boundary() can give completely wrong
                    results
    Classification: Unclassified
           Product: poppler
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: mark at qtrac.eu


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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list