 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

16th May 2012, 04:25 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,857

|
|
|
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."
|

16th May 2012, 04:39 PM
|
 |
Banned (for/from) behaving just like everybody else!
|
|
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307

|
|
|
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.
__________________
I believe in nerditarianism. I read FedoraForum for the Fedora-related posts.
|

16th May 2012, 05:09 PM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Detroit
Posts: 4,728

|
|
|
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
__________________
OS: Fedora 18 x86_64 | CPU: AMD64 3700+ 2.2GHz | RAM: 2GB PC3200 DDR | Disk: 160GB PATA | Video: ATI Radeon 7500 AGP 64MB | Sound: Turtle Beach Santa Cruz CS4630 | Ethernet: Realtek 8110SC
|

16th May 2012, 05:39 PM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,346

|
|
|
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
|

16th May 2012, 06:23 PM
|
 |
Administrator
|
|
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,324

|
|
|
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
|

16th May 2012, 07:48 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,857

|
|
|
Re: Identify fonts in a PDF document?
Quote:
Originally Posted by RupertPupkin
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."
|

16th May 2012, 10:13 PM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Detroit
Posts: 4,728

|
|
|
Re: Identify fonts in a PDF document?
Quote:
Originally Posted by tashirosgt
I thought the free version might not have the same capability
|
It does have that capability:
|

16th May 2012, 11:18 PM
|
 |
Registered User
|
|
Join Date: May 2010
Location: Midwest USA
Posts: 371

|
|
|
Re: Identify fonts in a PDF document?
Quote:
Originally Posted by stevea
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
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
|

16th May 2012, 11:36 PM
|
 |
Administrator
|
|
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,324

|
|
|
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. <..  ..>
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 08:08 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|