Revision 91e4633...

Go back to digest for 2nd December 2012

Bug Fixes in Graphics

Luigi Toscano committed changes in [okular/KDE/4.9] generators/dvi/dviRenderer_draw.cpp:

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

File Changes

Modified 1 files
  • generators/dvi/dviRenderer_draw.cpp
1 files changed in total