Ubuntu – PDF viewer with selectable text

pdf

Is there a good PDF viewer in the Ubuntu sources that lets me select and copy text? Okular for KDE is a great app, as it has a far greater number of tools than Document Viewer does. I see the repos have Okular, but I would like to avoid installing all the KDE dependencies that come with it. However, all I really need to do is select and copy text from a pdf. What will allow me to do this?

Best Answer

As mentioned in a comment, if text in a pdf document is selectable as text or not, depends on whether the text is in the document as an image or as text. In the latter case, all pdf viewers do support selecting text as far as I know.

No options with text in a pdf image?

You do have a few options however to make the text in a document "readable"

One relatively unknown, but imo very nice option to (also) convert pdf images to text is gimageReader:

enter image description here

It has a nice interface and reads the selected text, displayed next to your pdf document.

to install, use its ppa:

sudo add-apt-repository ppa:sandromani/gimagereader
sudo apt-get update
sudo apt-get install gimagereader

Note

You might need/want to additionally install tesseract ocr tools for specific languages to use:

sudo apt-get install tesseract-ocr

and specific languages, e.g.

sudo apt-get install tesseract-ocr-eng

Specific languages can also easily be selected by using synaptic.


Edit

(at least) From 18.04, gImageReader is in the repositories, so no need to add the ppa manually anymore.