Friday, July 27, 2007

How to install TrueType fonts on your Ubuntu computer

Have you ever wanted to just grab any old TrueType font of the web
and start using it in applications on your Ubuntu machine? Did you know
that you can and it’s not all that hard? Here’s how to get your system
to recognize new fonts for any user.

First you’ve got to find a font you want to install. Open up your
favorite search and look for true type fonts or .ttf files. I found a
font called “A Cut Above The Rest” which I downloaded on to my desktop.


font1.png


Now, you’ve got to do a little terminal magic (Applications->
Accessories -> Terminal) to move this file into the right place and
regenerate your cache of fonts.



Once in your terminal, we’re going to head down to where Ubuntu keeps it’s fonts.


cd /usr/share/fonts/truetype


Let’s make a directory to store all of your downloaded fonts in. We’ll call it myfonts.


sudo mkdir myfonts


Now move into that directory.


cd myfonts


Okay, so you’re here and the font(s) you just downloaded are on your
desktop. What to do? Move them to this location like this:


sudo mv /home/USERNAME/Dekstop/*.ttf .


Replace USERNAME with your own. Grabbing any .ttf files
with a wildcard (*) makes it easy for you to download a bunch to your
desktop and then dump them into the right place.


Now that you’ve got your fonts where you want them, it’s time to tell Ubuntu that they’re here.


fc-cache -f -v ~/.font


You can now open any program that utilizes system fonts and access your new font. Let’s see how OO2 writer looks.


font2.png



Powered by ScribeFire.

1 comment:

Anonymous said...

Howdy,

When ever I surf on web I never forget to visit this website[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url]enchanterspacestudio.blogspot.com is filled with quality info. Frankly speaking we really do not pay attention towards our health. Let me show you one truth. Recent Scientific Research presents that closely 70% of all USA adults are either fat or weighty[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url] Therefore if you're one of these people, you're not alone. Infact many among us need to lose 10 to 20 lbs once in a while to get sexy and perfect six pack abs. Now the question is how you are planning to have quick weight loss? You can easily lose with with little effort. You need to improve some of you daily habbits to achive weight loss in short span of time.

About me: I am writer of [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss tips[/url]. I am also health trainer who can help you lose weight quickly. If you do not want to go under painful training program than you may also try [url=http://www.weightrapidloss.com/acai-berry-for-quick-weight-loss]Acai Berry[/url] or [url=http://www.weightrapidloss.com/colon-cleanse-for-weight-loss]Colon Cleansing[/url] for effective weight loss.