Bug 328766 - Text search and selection doesn't work with certain PDF files
Summary: Text search and selection doesn't work with certain PDF files
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.17.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-13 15:10 UTC by Unknown
Modified: 2013-12-14 11:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2013-12-13 15:10:52 UTC
Text search doesn't work with PDF files that were originally made using LaTeX or similar software. Selection doesn't work either, trying to copy text results in junk characters.

Same happens with Evince and Xpdf. Maybe the problem is related to poppler library? Adobe Reader on Windows works flawlessly. Search works partially in the Firefox PDF viewer.

Search and selection usually works for text that is formatted as a (mathematical) formula. This is just not very useful.

Sample PDF file here (do not click any advertisements on the site!):
http://www.mediafire.com/download/itxzg0pzex180qz/pdf1.zip

Reproducible: Always

Steps to Reproduce:
1. Get a PDF created with LaTeX
2. Open it in okular
3. Try to search for some text
Comment 1 Albert Astals Cid 2013-12-14 11:41:14 UTC
This is a problem from poppler (the library we use for pdf handling) upstream since pdftotext also has the problem. Please file a bug at https://bugs.freedesktop.org/ agaist poppler about it.