← Back to team overview

qpdfview team mailing list archive

Request for review of DjVu method "findText"

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello Razi,

I am currently working on getting the whole-words search function of
Poppler exposed in the Qt frontends. I did already add the necessary
UI elements to qpdfview and started work on the DjVu backend.

As you know, the DjVu search function, i.e. the "findText" method, has
always been pretty "hand waving". To make it fulfil the requirements
made by the UI at least to some degree, I extended it to respect the
whole words flag and I also tried to restore the matching of search
texts that span several words (which was gone after the last change to
make it match words within words at non-letters).

It is now pretty complicated again (doing a word-by-word possibly with
words being substrings of DjVu words match) and I would be grateful if
you could review it as well when you find some spare time to do so.
Thanks!

Best regards, Adam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJUspBtAAoJEPSSjE3STU3472MH/2j6MlIitTlm4Zkbue5iJZM5
7W2df+gi8Cj2fYmaWh/PwN77VYtpNY+lX9jzFR0P/C0LMBv1KUFTTcQNUTl13jAN
58pPJA9upXHnNQn8446R7wBEk08Ri4wzsfVJc4Aburw2ivDBPQIy5KXDIMjoqggP
T3TKpmonfSSQj0h8s9yUbAsG+dZaWTTuuFWyGedwnJndb/qu3Dk+EjpJKYovnrGd
GTekVyIKRQxNObK5eiODBUVXVhqaWy+XWtxjLpew+6yt+cGTfrVDqgd7kJQyNV6D
fRE3d7uaTQ+n2GF3FmJonf7v4+/Z9eX1NTunfMOv75xQOTZ611E1Cp5AjelSVSs=
=6ftT
-----END PGP SIGNATURE-----


Follow ups