Bug 59972 - [PATCH] Allow poppler_page_find_text to be rerun on same page
Summary: [PATCH] Allow poppler_page_find_text to be rerun on same page
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: glib frontend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 14:13 UTC by Rob Cornish
Modified: 2013-03-24 11:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
[PATCH] Allow poppler_page_find_text to be rerun on same page (1.27 KB, text/plain)
2013-01-28 14:13 UTC, Rob Cornish
Details

Description Rob Cornish 2013-01-28 14:13:31 UTC
Created attachment 73775 [details]
[PATCH] Allow poppler_page_find_text to be rerun on same page

Seems this problem has existed before (i.e. here: https://bugs.freedesktop.org/show_bug.cgi?id=27927), but it's back again: poppler_page_find_text returns NULL when run more than once on a single page.

I've attached a patch which fixes the issue for me.
Comment 1 oblique 2013-03-09 17:18:42 UTC
this bug is still present
Comment 2 Carlos Garcia Campos 2013-03-24 11:59:52 UTC
I've pushed a slightly different patch to kep the optimization. Thanks for the patch and sorry for the delay reviewing it.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.