Bug 93146

Summary: Search doesn't work correctly with some text format (LaTeX-related)
Product: poppler Reporter: antti <antti.niemi>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Sample PDF file, zipped

Description antti 2015-11-27 22:03:43 UTC
Created attachment 120185 [details]
Sample PDF file, zipped

Text search doesn't work properly with text that is formatted in a certain way. If such text is copied, it appears to contain spaces, even though it probably shouldn't.

Open the attached sample PDF and search for "tcsetattr" - no results. Search for "tcgetattr" - one result found on page 38, should find two.

Also try to search for "struct stat" on page 13 - no results. But searching for "struct s" works on the same page.


Tested with Okular 0.23.2 and poppler 0.37.0-1 from Arch Linux repository. Also tested with Evince 3.10.3 and unknown poppler version on Ubuntu.

Search seems to work correctly in PDF X-Change Viewer on Windows.
Comment 1 GitLab Migration User 2018-08-20 22:06:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/193.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.