Search code examples
c#pdfabcpdf

How can I get list of embedded and referenced fonts via abcpdf?


I can embed fonts, add (reference) fonts, set a current font, but that seems to be it.

How can I get a list of embedded and referenced fonts in a pdf file via abcpdf?


Solution

  • I do not think ABCpdf provides a way to get a list of the fonts that are in an already existing PDF. There just isn't any implementation of that. You'd need to dig through the ObjectSoup with knowledge of PDF internals.

    There are other tools that can list the fonts in a PDF, for example pdffonts from the xpdf package.