TYPE DESIGN INFORMATION PAGE last updated on Tue May 21 09:22:44 EDT 2013



Using FontForge to extract fonts from a PDF file

[Håvar Ingmund Henriksen]

Written by Luc Devroye
McGill University
Montreal, Canada
lucdevroye@gmail.com
http://luc.devroye.org
Up to main font page
Up to main font index page





We read: Basically you just need to select "Extract from PDF" in the filter section of the "Open Font" dialogbox used when opening files. When you have selected your PDF file, a "Pick a font" dialogbox will open where you could select wich font to open. Then you'll just need to compact the font using the "Encoding" menu and selecting "Compact". This will remove all non-used glyphs in the font. Then you would have to edit the Font Info, and save the font as a font file (usally TrueType is best). Quote from the article: "Beware though, sometimes when a font is embedded into a PDF it will only contain [glyphs for] characters used. So, if the PDF file that you are trying to extract from does not contain the letter "P" [glyph], then that letter will not show up in FontForge." (You could see an example of this in the image above, the PDF file the font was extracted from did not contain glyphs for all the letters in the english alphabet).

EXTERNAL LINKS
Using FontForge to extract fonts from a PDF file
Google search page

INTERNAL LINKS
Extracting fonts from PDF files ⦿









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