[poppler] poppler/gilib: poppler_page_find_text() returns wrong PopplerRectangle

Andreas Politz politza at hochschule-trier.de
Thu Jan 26 23:36:09 UTC 2017

Kenji Okimoto <okimoto at clear-code.com> writes:

> I'm confusing that I cannot use PopplerRectangle returned by
> poppler_page_find_text() with poppler_page_get_text_for_area().

Yes, that's clearly a mistake.  The origin of the y-coordinate of a
returned or accepted rectangle varies from function to function.

But it seems also hard to fix in retrospect, because existing programs
depend on this behaviour.

It could be documented, as a starting point.


More information about the poppler mailing list