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.

Albert
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to