pdf-parser

Identify fundamental elements of a PDF file without rendering it. More information: https://blog.didierstevens.com/programs/pdf-tools.

pdf-parser --stats path/to/file.pdf

pdf-parser --type=/Font path/to/file.pdf

pdf-parser --search=search_string path/to/file.pdf