Install gpdftext by entering the following commands in the terminal:
sudo apt update sudo apt install gpdftext
Description:
GTK+ text editor for ebook PDF files
gpdftext opens a simple text-based PDF file, typically intended for reading on an ebook reader and loads the text into a text editor window, autoformatting the text for long lines and paragraph breaks. . gpdftext is useful when the downloaded PDF uses a small font or wastes a lot of space in the margins so that a plain text file would display in a more comfortable font. . gpdftext supports spell checking and editor font selection and can save ASCII content as PDF.
Homepage: https://alioth.debian.org/projects/gpdftext/
Version: 0.1.6-3
Section: universe/utils