[Okular-devel] [Bug 302004] Okular does not find any result when searching into DVI documents
Luigi Toscano
luigi.toscano at tiscali.it
Tue Nov 27 00:04:38 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=302004
Luigi Toscano <luigi.toscano at tiscali.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Version Fixed In| |4.9.4
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/okul
| |ar/91e46331fd7901705a69323c
| |75de84e2467416dd
--- Comment #10 from Luigi Toscano <luigi.toscano at tiscali.it> ---
Git commit 91e46331fd7901705a69323c75de84e2467416dd by Luigi Toscano.
Committed on 27/11/2012 at 00:59.
Pushed by ltoscano into branch 'KDE/4.9'.
Fix word detection for DVI documents
This patch attempts to restore the functionalities broken by some changes
(maybe the text column selection code, it was broken also in 4.7).
Text search and text selection work (almost) properly again.
It uses a bit of heuristics to identify the end of a word and merge the
boxes which enclose each character of a word (so that
char_x.right==char_{x+1}.left).
It also tries to recognize if there is a newline ("after_space") after
that a space is found.
REVIEW: 107429
FIXED-IN: 4.9.4
M +58 -6 generators/dvi/dviRenderer_draw.cpp
http://commits.kde.org/okular/91e46331fd7901705a69323c75de84e2467416dd
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list