Fedora Linux Support Community & Resources Center
  #1  
Old 16th May 2012, 04:25 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,961
linuxopera
Identify fonts in a PDF document?

Is there a simple way to identify the fonts in a PDF document by using a program commonly available with Fedora?

( This link describes how to identify fonts in a PDF document using Adobe Acrobat Pro http://blog.gilbertconsulting.com/20...nt-in-pdf.html.)

I know you can look at the PDF file with a text editor, but on those I have examined, I only see cryptic (to me) entries like:

Code:
13 0 obj
<<
/Encoding 7 0 R
/Type/Font
/Subtype/Type1
/Name/F2
/FontDescriptor 12 0 R
/BaseFont/NUNCQY+CMR12
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #2  
Old 16th May 2012, 04:39 PM
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Nanjing, China
Posts: 1,332
linuxfirefox
Re: Identify fonts in a PDF document?

http://stackoverflow.com/questions/6...in-a-pdf-docum

---------- Post added at 11:39 PM ---------- Previous post was at 11:34 PM ----------

By the way, the GUI app "evince", default on GNOME/XFCE spins, also displays font information in File->Properties menu item.
__________________
Code:
from rlyeh import cthulhu
cthulhu.fhtagn()
Reply With Quote
  #3  
Old 16th May 2012, 05:09 PM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,660
linuxfedorafirefox
Re: Identify fonts in a PDF document?

In the stackoverflow link it says that pdffonts is part of Xpdf, but in Fedora it's part of the poppler-utils package. I think pdffonts is the best way to do this if you're dead set on not using the free Adobe Acrobat Reader for Linux in Fedora. Output looks like this:
Code:
$ pdffonts program-change.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
Arial,Bold                           TrueType          no  no  no       5  0
Arial,BoldItalic                     TrueType          no  no  no       7  0
Arial,Italic                         TrueType          no  no  no       9  0
Arial                                TrueType          no  no  no      11  0
ABCDEE+Courier New                   TrueType          yes yes no      15  0
Arial                                CID TrueType      yes no  yes     17  0
ABCDEE+Calibri                       TrueType          yes yes no      22  0
ABCDEE+Calibri,Bold                  TrueType          yes yes no      24  0
Arial,Bold                           CID TrueType      yes no  yes     29  0
ABCDEE+Calibri,Italic                TrueType          yes yes no      35  0
__________________
"I'm not glad he's dead, but I'm glad he's gone."
-- Richard M. Stallman, on the death of Steve Jobs
Reply With Quote
  #4  
Old 16th May 2012, 05:39 PM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,849
linuxfirefox
Re: Identify fonts in a PDF document?

Not to derail (he says while derailing) but is it just me or is font-management real fuster-cluck on Linux ? Seems I never get the font selection 'happy' till I work at it incrementally for months.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #5  
Old 16th May 2012, 06:23 PM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,279
linuxfirefox
Re: Identify fonts in a PDF document?

Yeah. Pretty much, but this helps a lot.

In F16 Gnome3/Gnome Shell, as root:

Code:
yum install font-manager
yum install gnome-tweak-tool
Attached Thumbnails
Click image for larger version

Name:	font-manager.jpg
Views:	70
Size:	142.5 KB
ID:	23093  
Reply With Quote
  #6  
Old 16th May 2012, 07:48 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,961
linuxopera
Re: Identify fonts in a PDF document?

Quote:
Originally Posted by RupertPupkin View Post
if you're dead set on not using the free Adobe Acrobat Reader for Linux in Fedora.
I not dead set against using it, but I haven't tried it. The link I gave mentions Adobe Acrobat Pro, so I thought the free version might not have the same capability.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #7  
Old 16th May 2012, 10:13 PM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,660
linuxfedorafirefox
Re: Identify fonts in a PDF document?

Quote:
Originally Posted by tashirosgt View Post
I thought the free version might not have the same capability
It does have that capability:
Attached Thumbnails
Click image for larger version

Name:	acrobatfonts.png
Views:	73
Size:	26.2 KB
ID:	23095  
Reply With Quote
  #8  
Old 16th May 2012, 11:18 PM
CronoCloud Offline
Registered User
 
Join Date: May 2010
Location: Midwest USA
Posts: 452
linuxfirefox
Re: Identify fonts in a PDF document?

Quote:
Originally Posted by stevea View Post
but is it just me or is font-management real fuster-cluck on Linux ?
I hear it used to be. But even in the oldest and weirdest Linux I ever used, Sony's wacky Kondarai-ized RedHat 6.1 for the PS2, there were just two basic methods

For Truetype, all you needed to do was just put the fonts in one of the standard directories and run fc-cache as root.

For X11 fonts, you just put them in one of the standard X11 font directories and run mkfontdir as root in that directory.

Real easy. :-) Same method works in F16 too. Don't ask me about LaTeX fonts though, I have no idea about those.


Quote:
Originally Posted by Dan View Post
Yeah. Pretty much, but this helps a lot.
Code:
yum install font-manager
You are a font...heh heh.....of useful knowledge of things to yum install.

CronoCloud
Reply With Quote
  #9  
Old 16th May 2012, 11:36 PM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,279
linuxfirefox
Re: Identify fonts in a PDF document?

*Sigh!* If only it were so. I only repeat that which I have learned from those who know. <....>
Reply With Quote
Reply

Tags
document, fonts, identify, pdf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to identify the linux OS wshamroukh Using Fedora 8 20th September 2007 09:42 PM
Can you identify this cable? wdgiles Wibble 4 9th December 2006 09:19 PM
Help me identify an error. shadowwyvern Using Fedora 7 5th December 2006 11:53 PM
How to identify devices akt Using Fedora 0 13th October 2006 05:38 AM
Cant seem to get FC3 to identify modem Toysoldier_wow Hardware & Laptops 2 8th June 2005 11:51 AM


Current GMT-time: 16:22 (Tuesday, 23-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat