tags:

views:

414

answers:

2

Is there a script to extract the embedded fonts from a PDF file?

+1  A: 

I just googled and found there resources. I think it might be useful to you.

PDF PERL

Chathuranga Chandrasekara
+4  A: 

I'm the author of CAM::PDF, one of the several popular Perl PDF libraries. Included in my package is a tool to list embedded fonts in a document, but I have not built any support for extracting fonts. That would probably be used primarily for copyright violation, so I'm not interested in supporting such a feature.

Chris Dolan
No, it could be used for a copyright violation. You can also buy a hammer and murder someone with it, but still, hammers are manufactured.
Svante
@Svante: If you want a non-copyrighted font, then you just download it -- you don't need to extract it from the PDF. By your analogy, the questioner is asking for lockpicks to acquire a hammer: it seems highly suspicious.In your comment you said "buy". The questioner did not ask what's the URL for a website where s/he can buy fonts.
Chris Dolan