TYPE DESIGN INFORMATION PAGE last updated on Mon Apr 15 05:49:01 EDT 2024

SEARCH THIS SITE:

IMAGE SEARCH:

FONT RECOGNITION VIA FONT MOOSE

LUC DEVROYE


ABOUT







[HOWTO] Extract Fonts from a PDF File using FontForge

A Japanese hacker suggests this method for Linux: Install FontForge
$ sudo apt-get install fontforge

Once FontForge is installed, start it
$ fontforge

On the "Open Font" screen, go down to where it says "Filter" and change it to "Extract from PDF".
Select your PDF and a "Pick a font" window will open.
Select the font you want to extract and click OK.

A window with a display of the font will show up. It's not quite ready to turn into a TTF yet. Here's how to prepare it:

Go to the Encoding menu and select "Compact". This will cause FontForge to remove all characters that are not defined in the embedded font. Beware though, sometimes when a font is embedded into a PDF it will only contain characters used. So, if the PDF file that you are trying to extract from does not contain the letter "P", then that letter will not show up in FontForge. Check to make sure all the characters you need are displayed and then head over to the Element menu.

Click on Font Info.
You can update the Fontname, Family Name, and most importantly, "Name for Humans". This field is what the font will display as in your editing program. The font name is usually a little garbled when you extract it, so just make it something readable. If there is a copyright notice displayed at the bottom, you should probablly stop what you are doing since that usually means the font should be purchased.

If there's no copyright, click on "OK". Then go to File > Generate Fonts.

Select the type of font you want to save as (Usually TrueType is best), and click on Save. You may encounter some messages about Non-standard Em size and Bad Private Dictionary errors. Just click on Save and you should be OK.

Then, find your font file and open it up to make sure that it displays properly.

EXTERNAL LINKS
[HOWTO] Extract Fonts from a PDF File using FontForge
MyFonts search
Monotype search
Fontspring search
Google search

INTERNAL LINKS
Extracting fonts from PDF files ⦿ X windows font software ⦿













Luc Devroye ⦿ School of Computer Science ⦿ McGill University Montreal, Canada H3A 2K6 ⦿ lucdevroye@gmail.com ⦿ http://luc.devroye.org ⦿ http://luc.devroye.org/fonts.html