Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a PDF article (not created by me). However, I can not search for text in the PDF. All PDF viewers I've tried return zero results for words that are obviously in there. I've tried with Adobe Acrobat Professional 8, SumatraPDF and Google Chrome.

How can I find out why the document is not searchable?

Things I've checked:

  • The PDFproducer is reported as 'pdftopdf' and PDf version is reported as 1.3. However, it seems to have been created in something like MSWord or OpenOffice (but not *TEX).
  • It is definitely not a scanned document, as the font is crisp-clear at all zoom levels, and text is selectable.
  • If I look at the security settings (ctrl-D in Adobe Acrobat), everything is allowed (like printing, copying, ...).
  • my search options do not have 'match case' turned on
  • I can not turn it into a searchable document using Acrobat's 'Recognize text using OCR' as it reports: 'This page contains renderable text'.

So, what else could be the reason for the DPF not being searchable? And how to make it text-searchable?

share|improve this question
    
Interesting, is that document contains any sensitive data? if not can you share it? –  SparKot ॐ Mar 6 '13 at 9:49
    
@SparKot: I am not sure if I can share the document, so I prefer rather not to. Although I understand this would greatly aid in troubleshooting. –  Rabarberski Mar 6 '13 at 10:02
    
Have you tried to upload it to Evernote and check if they can make it searchable? AFAIK they have a good OCR engine for that task. –  ChaosCakeCoder Mar 6 '13 at 10:17

1 Answer 1

up vote 3 down vote accepted
  • It may have a custom font encoding that assigns code points to characters in a way that is incompatible with established encodings such as ASCII or UTF-8/Unicode.

  • It may render characters individually out of sequence

  • It may have had characters flattened to paths

See http://stackoverflow.com/questions/12703387/pdf-font-encoding.
and http://stackoverflow.com/questions/4523283/how-do-you-debug-pdf-files

To make it text searchable, the best way may be to go back to the original source (e.g. a Word document) and use a different process to produce the PDF. Alternatively you could try rendering your current PDF as a bitmap and then using OCR, but this will be tedious and produce poor results.

share|improve this answer
    
Ah, the encoding seems indeed to be the issue. When I try to copy paste text, I get garbage. And the Font tab in Acrobat says for each listed font 'encoding: custom' –  Rabarberski Mar 6 '13 at 10:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.