[poppler] v0.10.7's backward text search. a bug?

Albert Astals Cid aacid at kde.org
Sat Aug 15 08:47:14 PDT 2009

A Divendres, 14 d'agost de 2009, Thiago Silva va escriure:
> v0.10.7's  backward text search. a bug?
> hello,
> I was having a little bit of problem implementing a backward text
> search in my qt4 application and stumbled with the following code from
> poppler-page.cc Page::search():
>   else if ( direction == PreviousResult )
>     found = textPage->findText( u.data(), len,
>             gTrue, gFalse, gFalse, gTrue, sCase, gFalse, &sLeft,
> &sTop, &sRight, &sBottom );
> looking at the findText() on TextOutputDev.h, I noticed the parameter
> 'backward' is receiving gFalse.
> is this correct?

No, it's wrong, i've fixed it now, it'll be available in next poppler release, 
thanks for notifying.


More information about the poppler mailing list