How can I extract embedded fonts from a PDF as valid font files?

后端 未结 8 1088
独厮守ぢ
独厮守ぢ 2020-11-28 17:37

I\'m aware of the pdftk.exe utility that can indicate which fonts are used by a PDF, and wether they are embedded or not.

Now the problem: given I had P

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 17:53

    Even though this question is 10 years old, it is still valid and as technology changes so does a valid answer.

    In searching the current answers noticed none of them note WOFF (Web Open Font Format) (W3C) (Wikipedia) which can be used to recreate the individual characters (glyphs) and display them in a web page accurately.

    Using the free online web page by IDR Solutions, PDF to HTML5 (link), convert a PDF to a zip file. In the resulting zip will be a font directory of woff file types. Current Internet browsers support woff files if you were not aware. (reference) These can be examined at the online site FontDrop! (link).

    WOFF files can be converted to/from OTF or TTF at WOFFer – WOFF font converter

    Also the zip file from PDF to HTML5 will contain an HTML file for each page of the PDF that can be opened in an Internet browser and is one of the best and most accurate PDF translations I have found or seen.

    While I am just learning how to use WOFF files, this is worth passing along. Enjoy.

    PS, I will probably update with more info as I learn more about using woff file types, but as this is creative commons, feel free to edit this answer if you have something of value to pass along.

提交回复
热议问题