LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2009, 11:54 AM   #1
foampile
Member
 
Registered: Feb 2009
Posts: 50

Rep: Reputation: 15
Question installing fonts for fedora 9


i have a java application running on fedora 9 that utilizes fonts to render JPG images displaying text provided (kind of like your email address on facebook in not copyable text but an image).

i am getting an exception because the application cannot find any fonts installed on the system. the /usr/share/fonts/ directory is empty.

any suggestions how i should go about installing fonts ?

thanks.
 
Old 04-02-2009, 01:23 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Try running:
yum list all | grep 'font.*noarch'
pick what ones you want, then do:
yum install blah-fonts-blah.noarch blah2-fonts-blah.noarch

The standard fonts on Fedora for most GUI apps are 'liberation', by the way.

I have a feeling yum might want to pull in a load of other packages as well to satisfy the dependencies, so if you're not happy about that, google for the font package name, download the rpm, then install it with 'rpm --nodeps -ivh package-blah.noarch.rpm'

Dave

Last edited by ilikejam; 04-02-2009 at 01:25 PM.
 
Old 04-02-2009, 01:34 PM   #3
foampile
Member
 
Registered: Feb 2009
Posts: 50

Original Poster
Rep: Reputation: 15
thanks but i got so many that i don't know which one to choose. i really need the most basic ones, e.g. arial and times new roman etc.
 
Old 04-02-2009, 01:41 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi again.

The fonts supplied with Fedora don't actually include arial, times new roman, etc. They're replaced by the fonts in the liberation package (the liberation fonts have the same metrics as the standard Windows fonts, but the names are different). You might be better off installing the real Windows fonts:

http://www.fedorafaq.org/#installfonts

Dave
 
Old 04-02-2009, 03:07 PM   #5
foampile
Member
 
Registered: Feb 2009
Posts: 50

Original Poster
Rep: Reputation: 15
thanks again. i did this and it installed the following:

andale32.exe comic32.exe impact32.exe verdan32.exe
arial32.exe courie32.exe times32.exe wd97vwr32.exe
arialb32.exe georgi32.exe trebuc32.exe webdin32.exe

in /usr/src/redhat/BUILD/msttcorefonts/downloads.

however, when i do fc-list, i still get nothing
 
Old 04-02-2009, 03:27 PM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Try this:
http://littlegreenfootballs.com/arti...u_and_Fedora_8
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Fonts? carlosinfl Debian 5 05-05-2006 06:00 PM
Installing Fonts. duffmckagan Mandriva 7 06-03-2005 07:37 AM
Installing TrueType fonts in Fedora 3 swcng2001 Fedora 2 03-05-2005 07:35 PM
Fedora and Fonts Max Freeman Fedora 9 01-18-2004 02:21 PM
Installing New Fonts xianzai Linux - Newbie 1 01-02-2004 11:37 PM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration