How to find out which fonts are referenced and which are embedded in a PDF document

后端 未结 6 1188
刺人心
刺人心 2021-01-29 19:03

We have a little problem with fonts in PDF documents. In order to put the finger on the problem I\'d like to inspect, which fonts are actually embedded in the pdf document and w

6条回答
  •  故里飘歌
    2021-01-29 19:23

    using the free iText (or iTextSharp if you're on .NET) you can write a utility that will extract for you this information using the BaseFont.GetDocumentFonts method.

    Read this link for the code

提交回复
热议问题