Bug 59972

Summary: [PATCH] Allow poppler_page_find_text to be rerun on same page
Product: poppler Reporter: Rob Cornish <jrmcornish>
Component: glib frontendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: [PATCH] Allow poppler_page_find_text to be rerun on same page

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.