76

In Acrobat Reader I can go to File > Properties to see all the metadata for the open PDF file: the program that created the document, author information, embedded fonts, etc.

OS X's Preview can also display metadata, albeit a more limited subset (under Tools > Show Inspector). However, you can't see embedded font information with Preview.

Is there a way in OS X (preferably with Preview, and not with Acrobat) to see what fonts are embedded in a PDF file?

Andrew
  • 2,579

2 Answers2

93

Some PDF files may include the font name in plain text within the file.

To see this, run one of these commands from the terminal or command-line.

MacOS

strings /path/to/document.pdf | grep -i FontName

Note: MacOS might require you to install the command-line tools first.

Windows

findstr FontName C:\path\to\document.pdf
mwfearnley
  • 7,889
Redandwhite
  • 3,794
91

You can also use pdffonts, which can be installed with brew install poppler or brew install xpdf.

$ pdffonts file.pdf
name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
GFEDCB+MyriadSet-Medium              CID TrueType      Identity-H       yes yes yes    304  0
GFEDCB+MyriadSet-Bold                CID TrueType      Identity-H       yes yes yes    310  0
GFEDCB+MyriadSet-MediumItalic        CID TrueType      Identity-H       yes yes yes    659  0
GFEDCB+Menlo-Regular                 CID TrueType      Identity-H       yes yes yes    664  0
ZapfDingbats                         Type 1            Custom           no  no  yes    665  0
ZapfDingbats                         Type 1            Custom           no  no  yes    666  0
Lri
  • 42,502
  • 8
  • 126
  • 159