I have a pdf file, whose text can be shown correctly in evince, but not when text are searched or copied and pasted outside the file. For example, "external transportation." is copied and pasted outside as
I created the pdf file from the original version of the pdf file which works correctly, by
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=example.pdf original.pdf
The command is my general way to repair various problems in a pdf file (especially font problems in pdf files created on Windows).
- Why does the command create the problem? How shall I change the command, as a general way to fix pdf problems?
- How shall I repair the current version of the pdf file, so that the correct text can be searched and copied and pasted outside? The file I am actually interested in repairing was created in the same way and with additional modifications. I want to repair it, so that I can keep the modifications.