Meanwhile I found a different method to list fonts used in a PDF (and indicate wether they're embedded or not), which uses Ghostscript only (no need for additional third party utilities). Unfortunately this also does NOT satisfy your requirement to learn about a font used for highlighted text.
This method uses a little utility program, written in PostScript, shipping with the source code of Ghostscript. Look in the toolbin subdir for the pdf_info.ps
file.
The included comments say you should run it like this in order to list fonts used, media sizes used
gs -dNODISPLAY ^
-q ^
-sFile=____.pdf ^
[-dDumpMediaSizes] ^
[-dDumpFontsUsed [-dShowEmbeddedFonts]] ^
toolbin/pdf_info.ps
I did run it on a local example file. Here is the result:
C:\> gswin32c ^
-dNODISPLAY ^
-q ^
-sFile=SHARE.pdf ^
-dDumpMediaSizes ^
-dDumpFontsUsed ^
-dShowEmbeddedFonts ^
C:\\pa\\gs\\gs8.64\\lib\\pdf_info.ps
SHARE.pdf has 12 pages.
Title: SHARE_Information_070808.indd
Creator: Adobe InDesign CS2 (4.0)
Producer: Adobe PDF Library 7.0
CreationDate: D:20080808103516+02'00'
ModDate: D:20080808103534+02'00'
Trapped: False
Page 1 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 2 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 3 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 4 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 5 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 6 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 7 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 8 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 9 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 10 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 11 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 12 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Font or CIDFont resources used:
DKCTOS+FrutigerLT-BlackCn
DKCTOS+FrutigerLT-BoldItalic
DKCTOS+Wingdings3
TIELEM+FrutigerLT-Black
TIELEM+FrutigerLT-Bold
TIELEM+FrutigerLT-BoldCn
TIELEM+FrutigerLT-Cn
TIELEM+FrutigerLT-Italic
TIELEM+FrutigerLT-UltraBlack
TIELEM+TimesNewRomanPS-BoldItalicMT
your pdf is in various types of font? – Ye Lin Aung – 2010-03-08T11:59:02.070
2Yep, lots of font types in it. – Mehper C. Palavuzlar – 2010-03-08T12:11:05.240
2That's funny, I had the exact same question today. You saved me the trouble of asking it. :) – Sasha Chedygov – 2010-03-09T07:20:58.407
1:) Although, we have no solution yet. – Mehper C. Palavuzlar – 2010-03-09T07:40:17.613
2
At http://superuser.com/questions/62562/how-to-find-out-where-a-specific-font-is-used-in-a-pdf-document Rabarberski states "I don't want to find which font is used on a certain piece of text (I know how to do that)"...
– Arjan – 2010-03-29T14:18:32.993I've added the explanation on how to do this using Acrobat 9 Professional – Rabarberski – 2011-02-22T09:02:04.463
@Rabarberski: We'd been looking forward to hearing from you. Thanks for your answer. – Mehper C. Palavuzlar – 2011-02-22T09:07:29.393