View Full Version : HOWTO: Install ttf-fonts
keron
November 1st, 2005, 08:57 PM
Sometimes stupid-looking fonts are needed, and quality can take a second place. That's when you need those ttf-fonts for Windows that availible all over the web.
To install a ttf from your ~/ :
cd /usr/share/fonts/truetype
sudo mkdir myfonts
cd myfonts
sudo cp ~/*.ttf .
sudo chown root.root *.ttf
sudo mkfontdir
cd ..
fc-cache
(taken from http://www.inference.phy.cam.ac.uk/saw27/notes/adding-truetype-font-to-debian-or-ubuntu.html
Dont have any fonts to install? Take a look at 1001freefonts.com. They doesnt have 1001 fonts though. I counted 2875...
But its not fun to navigate all those fonts. So I have pictures of them gziped http://jensann.mine.nu/ubuntu/fontsdisplay.tar.gz
And, since I had important stuff to do this evening, I also made a script that given the name of a font in that archive tries to download and install it.
The script is http://jensann.mine.nu/ubuntu/freefonts.sh .
wget http://jensann.mine.nu/ubuntu/freefonts.sh
chmod +x freefonts.sh
sudo mv freefonts.sh /usr/local/bin/freefonts
Extract the images to a folder and view the thumbnails. If you find a font you like, try
sudo freefonts fontname
and hopfully it will work. The fonts are not allways consistant, and I havent tried them all. Start a program, perhaps OpenOffice Writer and see if the font is there. It should be, if no error were reported...
Hopefully this will be of some use. It shouldnt be impossible to have a program such as the gnome art-fetcher for fonts.... You should make one :p
If anybody knows how to add .ttf files localy without the need for sudo, please let me know, or even better, extend the script....
wylfing
November 2nd, 2005, 12:56 AM
I'll admit I am not a font expert, but this seems like overkill to me. How about this:
1. From any Nautilus window, press Ctrl-L.
2. Type fonts:/// in the Location box and click Open.
3. A window will pop open. Drag your new fonts onto this window.
Done!
sciurus
November 2nd, 2005, 02:04 PM
Alternatively, simply move the font files into ~/.fonts
wylfing
November 2nd, 2005, 04:33 PM
Yep, that's where fonts:/// takes you :)
esperantisto
December 6th, 2005, 06:23 AM
There's a font intaller coming with OpenOffice.org. Does it work with Linux?
erdalronahi
April 23rd, 2006, 07:48 AM
I'll admit I am not a font expert, but this seems like overkill to me. How about this:
1. From any Nautilus window, press Ctrl-L.
2. Type fonts:/// in the Location box and click Open.
3. A window will pop open. Drag your new fonts onto this window.
Done!
Doesn't work for me in Dapper. I started Nautilus with sudo, but nothing happens when I drag the .ttf files into the font folder. Not even an error message.
geetarista
June 15th, 2006, 12:33 PM
For me in Dapper, I can sometimes copy the file into fonts:///, but I can't preview it and it has some weird characters for the name. It only "works" when I open nautilus/konqueror as root--If I don't open it in root, nothing happens.
Matchless
June 16th, 2006, 01:44 PM
In Kubuntu Dapper you can just use the font installer in "settings" point it to the folder extracted from the downloaded fonts and install!
altonbr
September 4th, 2006, 11:26 PM
I'll admit I am not a font expert, but this seems like overkill to me. How about this:
1. From any Nautilus window, press Ctrl-L.
2. Type fonts:/// in the Location box and click Open.
3. A window will pop open. Drag your new fonts onto this window.
Done!
I can verify that this works in Dapper Drake (6.06). Thanks! I REEEAAAAALLLY needed this.:)
stalefries
September 5th, 2006, 01:27 PM
I've used the fonts:/// thing for a while, and I've noticed that the fonts that I add there don't appear until I log out or shut down.
finferflu
September 5th, 2006, 06:25 PM
Hi guys,
What about Xubuntu? I couldn't find any way to get the fonts installed...
Thanks...
Paul133
September 5th, 2006, 06:58 PM
Does this work with Fontifier? http://www.fontifier.com
I'm not sure if they're tff's, but they might be!
el_itur
October 3rd, 2006, 02:34 PM
I've got over 4000 fonts that I use for design. It would help for one or two but imagine that I surf over my 4000 fonts and find the one that my client logo is using, and I already had 400 fonts on my sistem I have to get rid of one or two to not overload my system. I have to manually remove and install every little font.
That's not a good solution, at least for me, that's why windows have plenty font managers around (don't wanna start a flame war, it's just a comparison).
I've heard about dfontmngr or something like that. But I didn't tested it. Would it help? is it user friendly (it doesn't matter if it's hard to understand I just need the job done)?
I tell this becouse I have spend a lot of time reading the synaptic's packages list and sourceforge's projects and none is for linux and none is a good GUI.
RocketScientist
October 29th, 2006, 01:46 AM
RTFM (Read The FINE Manuals)
https://help.ubuntu.com/ubuntu/desktopguide/C/desktop-tips.html
Be sure to install the MS True Type Core fonts first if you are attempting to use *.ttf's
Do this after copying fonts into fonts:///
Fire up a terminal and type (or copy and paste):
sudo fc-cache -f -v
el_itur
October 31st, 2006, 05:49 PM
RocketScientist, thanks for your response, I've been using that for managing my fonts. But if you ever worked on a design studio you should know that that's not the finest way.
The thing I need is a font manager with a nice interface for previewing and installing/removing fonts from my .fonts directory.
I've belived that this was the place for asking such thing.
stchman
April 12th, 2007, 03:19 PM
If you want the Microsoft fonts then type this in a terminal:
sudo apt-get install msttcorefonts
If you have some custom font then do the following in a terminal:
(this assumes you have the terminal open in the folder where your fonts are located)
sudo cp *.ttf /usr/share/fonts/truetype
then type
sudo fc-cache -f -v
This will make them available to your applications.
stchman
April 12th, 2007, 03:31 PM
If you want the Microsoft fonts then type this in a terminal:
sudo apt-get install msttcorefonts
If you have some custom font then do the following in a terminal:
(this assumes you have the terminal open in the folder where your fonts are located)
sudo mkdir /usr/share/fonts/truetype/customttf
sudo cp *.ttf /usr/share/fonts/truetype/customttf
then type
sudo fc-cache -f -v
This will make them available to your applications.
dkuncer
February 2nd, 2008, 08:44 AM
I'll admit I am not a font expert, but this seems like overkill to me. How about this:
1. From any Nautilus window, press Ctrl-L.
2. Type fonts:/// in the Location box and click Open.
3. A window will pop open. Drag your new fonts onto this window.
Done!
THANK YOU very much!! It was easy. I installed the font I needed...
Thanks.
GamingMazter
February 2nd, 2008, 09:20 AM
WOO! Great thanks...been trying loads of new stuff on Ubuntu lately :D
nilanath
June 18th, 2008, 09:18 AM
So, all being very nice and sweet, either I am doing something wrong or what, but those fonts aren't showing up in the OpenOffice.org writer font listing. Anyone got an answer to that?:confused:
N.
arubislander
July 4th, 2008, 04:30 PM
Call me simple, but isn't it enough for most applications to just install msttcorefonts from the the multiverse repository? That worked for me on Hardy. The fonts:/// url in nautilus did not.
roaddummy
November 29th, 2008, 11:07 PM
I tried the ctrl-l and got the little box. I typed in fonts:/// and got an error message. I am either doing something wrong or I have a different version. If there is anyone who can maybe simplify this for me, then I would greatly appreciate it!!
Melanie
Hexagrapher666
January 4th, 2009, 03:45 PM
...those fonts aren't showing up in the OpenOffice.org writer font listing. Anyone got an answer to that?:confused:
I did a slight variation on Stchman's earlier recommendation and it worked beautifully. (I am running Ubuntu 8.10, with OpenOffice.org 2.4.)
(Via Synaptic I found that msttcorefonts was already installed.)
I recommend closing any instance of OpenOffice.org that you have running. In the terminal window I navigated to the directory where my downloaded .TTF file resided. Then I typed:
sudo mv *.ttf /usr/share/fonts/truetype/openoffice
Then, as per Stchman's recommendation, I typed:
sudo fc-cache -f -v
When I launched OpenOffice.org Writer the new font did indeed appear in Writer's font list.
m4lte
January 7th, 2009, 07:15 AM
If you want the Microsoft fonts then type this in a terminal:
sudo apt-get install msttcorefonts
If you have some custom font then do the following in a terminal:
(this assumes you have the terminal open in the folder where your fonts are located)
sudo cp *.ttf /usr/share/fonts/truetype
then type
sudo fc-cache -f -v
This will make them available to your applications.
Works fine for me on Ubunutu 8.10. Fonts appear in OpenOffice. Thanks!
SKhan
April 24th, 2010, 06:38 PM
I'll admit I am not a font expert, but this seems like overkill to me. How about this:
1. From any Nautilus window, press Ctrl-L.
2. Type fonts:/// in the Location box and click Open.
3. A window will pop open. Drag your new fonts onto this window.
Done!
didn't work for me in Ubuntu 9.10, it gives this error "Nautilus can not handle fonts location"
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.