[Poppler-bugs] [Bug 48373] annotation->boundary() can give completely wrong results
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 6 11:16:50 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=48373
Fabio D'Urso <fabiodurso at hotmail.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |NOTABUG
--- Comment #4 from Fabio D'Urso <fabiodurso at hotmail.it> 2012-04-06 11:16:50 PDT ---
I assume that when you wrote
QRectF(0.205549,0.149167 0.33766x0.676628) ########## WRONG
you were referring to annotation 9870b0a1-edba-42ee-aab1-50b2fab3b996 at page 1
Type: HighlightAnnotation / StrikeOut
Author: Audrey Doyle
Contents: delete hyphen and close up
Boundary rect: [x=0.205549 y=0.149167 w=0.33766 h=0.676628]
The annotation is made of three quadrilaterals: the "-" at the top, the
"28<,2" in the bottom and a third one on "<" again (it is striked out twice).
So it makes sense for the bounding rect to cover that big area.
You can clearly see that they are the same annotation in acroread, because
clicking on one also selects the other ones, and they all show to the same
popup window.
If you want to extract the vertices of each quadrilateral you can use
HighlightAnnotation::highlightQuads().
Please reopen this bug if there's something I'm missing.
--
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