GNOME Bugzilla – Bug 622160
search across newlines
Last modified: 2013-11-18 19:17:46 UTC
I want to search for "a b" and find instances where "a" is on the end of one line and "b" is at the beginning of the next line. I guess the technical challenge is that this would go across 2 (or more) poppler textpage blocks, and one would have to identify which one is "next". a11y code might help.
I have also experienced the exact same issue. It can easily give the impression that a phrase is absent.
Created attachment 236718 [details] Screenshot of different line break handling in acroread and evince
I, too, have experienced this bug in working with evince. The problem here, as shown in the attached screenshot, seems to be twofold: 1.) sentences spanning across line breaks are not recognized as continuous and aren't taken up by the inbuilt search (lower part of screenshot) 2.) single phrases spanning across line breaks aren't recognized as being continuous, either. There does not seem to be any difference between hyphenated and regular phrases in this. Searching for "main-tenance" in the example above doesn't return any results, either. Neither of these problems exist in proprietary solutions such as Adobe Reader or Foxit. I think it can be argued that fixing this issue is quite important as it greatly diminishes the inbuilt search capabilities of evince.
For what it's worth, Okular also suffers from this bug: https://bugs.kde.org/show_bug.cgi?id=300992
I think this is a limitation in poppler, or at least in poppler-glib. Using poppler-glib-demo (from poppler 0.22.1) shows the same problem. I tend to think it is a poppler issue considering that Okular has the same problem.
Please, follow the bug report in https://bugs.freedesktop.org/show_bug.cgi?id=61104 Thanks Florian for the detailed explanation.
*** Bug 556598 has been marked as a duplicate of this bug. ***
The right bug report should be: https://bugs.freedesktop.org/show_bug.cgi?id=11381