LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing fonts for fedora 9 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-fonts-for-fedora-9-a-716373/)

foampile 04-02-2009 12:54 PM

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.

ilikejam 04-02-2009 02:23 PM

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

foampile 04-02-2009 02:34 PM

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.

ilikejam 04-02-2009 02:41 PM

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

foampile 04-02-2009 04:07 PM

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

ilikejam 04-02-2009 04:27 PM

Try this:
http://littlegreenfootballs.com/arti...u_and_Fedora_8


All times are GMT -5. The time now is 01:00 AM.