Hi Vincent,

On Wed, Dec 13, 2023 at 05:09:34PM +0100, Vincent Lefevre wrote:
> Text search misses hyphenated words. For instance, on the attached
> PDF file, search for "thatmay" or "verylong".

I've just pushed code to implement this to the xpopple upstream Git
repo (http://offog.org/code/xpopple/). It's reliant on a fairly recent
Poppler search mode which has some limitations, e.g. it doesn't work
when searching backwards. But it does work with your sample file.

Implementing this revealed a couple of other Find window oddities -- the
"Whole word" option had been disabled by an old Debian patch for some
reason, and pressing "Find" multiple times didn't always do the same as
"find next" (e.g. it only found 4 of the 6 "This"s in your sample).
I believe I've fixed those as well.

Cheers,

-- 
Adam Sampson <[email protected]>                         <http://offog.org/>

Reply via email to