[poppler] problem with rectangles of links in a pdf
Vincent Torri
vtorri at univ-evry.fr
Sat Oct 16 12:03:05 PDT 2010
On Tue, 12 Oct 2010, Vincent Torri wrote:
>
>
> On Tue, 12 Oct 2010, Carlos Garcia Campos wrote:
>
>> Without looking at the code it's difficult to know what's wrong.
>
> file attached. The link code begins at line 671. In the switch, just consider
> the default case. I didn't fix the other cases.
I solved it. 1st, there was a corruption of the stack, and second, as you
told me in IRC, the coordinated are inversed (in a pdf doc, (0,0) is the
bottom-left corner). So the coordinate value must be changed to height-y2
and not height-y1 to fit my coordinate system.
thank you
Vincent Torri
More information about the poppler
mailing list