Tuesday, December 30, 2008

Install a TTF Font, Microsoft Core Fonts & Ubuntu Font

To Install a TTF Font
Step 1:
Prepare your files
YouFont is a good place to start, there are countless free font site out there. Feel free to leave a link in the comments section of your favourites. If the font is compressed (tar, zip, rar, etc) uncompress it (right click>Extract Here). Fonts should end in the extension .ttf for this guide to work.

Step 2: Now make a directory for your custom ttf fonts
in a terminal type:
sudo mkdir /usr/share/fonts/truetype/custom

Step 3: Put the ttf font into the folder your created
In a terminal type:
sudo nautilus

This will bring up a nautilus window
go to /usr/share/fonts/truetype/custom
Copy your fonts into this folder

Step 4: Rebuild your font cache
In a terminal type:
sudo fc-cache -f -v

To install the free Microsoft core fonts and increase compatibility in OpenOffice
In a terminal type:
sudo apt-get install msttcorefonts

Install the Ubuntu title font, used to create the blog's header and logo
In a terminal type:
sudo apt-get install ttf-ubuntu-title

Have a question or problem that this article doesn't cover?
Ask our Ubuntu Mini 9 Google Group for help.


Anonymous said...

Thanks Red, very useful!
myfonts.com is another good site. Apart from the fonts you have to pay for there are loads of fonts available for free. I've just downloaded Museo300 as a .zip and even though I ticked 'Cannot use OTF', it actually has an .otf extension. I tried your guide anyway and it worked. Inkscape and Scribus can see the font too. Happy days!
BTW, any idea how to install fontmatrix.net on Ubuntu anybody?

Sean said...

If I don't have any custom fonts to install, but I would like to install the free Microsoft core fonts and increase compatibility in OpenOffice, can I just type the "sudo apt-get install msttcorefonts" command in a terminal? Or are all the steps listed above it required too?

redDEAD said...

Sean just

sudo apt-get install msttcorefonts