Extracting font information from PDF files

Has a client ever sent you a PDF and you needed to know what typeface they used on the heading? I show you how to find out!

Recently I was sent a PDF of a marketing poster which a client had asked me to turn into a HTML email. The design firm who had produced the poster had used a non web standard font (ie: not Arial, Verdana or the like) but I still wanted to use it as my primary typeface in my font stack (the CSS font-family rule) and allow the typeface to degrade for those users who didn't have it installed on their system. The problem was that I didn't recognise the font!

Having exhausted all other avenues, I turned to my boss, who promptly showed me the following technique to extract font information from a PDF:

  1. Open your PDF.
  2. Go to TOOLS -> Advanced Editing and select the "TouchUp Text Tool".
  3. Click on the text that you wish to extract the typeface from and a bounding box should appear.
  4. Highlight a portion of the text and right click to bring up a menu. Select "Properties".
  5. Information about your font should be displayed under the "Text" tab, including the font name. Easy!

The one issue with this technique is that - to the best of my knowledge - you need to have Adobe Acrobat Professional (I used Version 8.1.2) to use the advanced editing functionality.

If hope you find this useful, and if you do be sure to comment.

David

 

 

 

 

7 Comments on this post

  1. tom said “latex” a few months ago
    Gravatar for tom

    good stuff, useful for fonts in documents from latex!

  2. Stephan said “Thanks!” a few months ago
    Gravatar for Stephan

    Great tutorial and just what I was looking for. The properties even give you the stroke weight. Thank you!

  3. stefan said “Extract font from pdf” a few months ago
    Gravatar for stefan

    You are able to extract fonts from PDF with Online Font Converter

  4. Marko said “recognizeing fonts in pdf” a few months ago
    Gravatar for Marko

    What if font is converted to outlines before saving to pdf?

  5. Magnus said “Use Word?” a few months ago
    Gravatar for Magnus

    If you just copy the text from the PDF (I used Adobe Reader), and paste it into Word the font-name will show. But the font-type is of course incorrect!

  6. Russ said “Thanks” a few months ago
    Gravatar for Russ

    Thank you, really nice tip. Works just great!

  7. Matt said “Thanks!” last month
    Gravatar for Matt

    Perfect - I am also extracting from a PDF and turning into an HTML email. Exactly what I needed!

Add your comment…