There have often been perceived problems for users installing fonts in Ubuntu but this note is the content of a text-file I created years ago as an aide memoire and is the best way as far as I'm concerned. It has worked well for me over the past 16 years.
Fonts you will use in Ubuntu are generally stored in either of two places.
1. /usr/share/fonts
2. ~/.fonts
Install them in the #1 location. If you install them to your /home directory they will not be accessible for all users on the computer, only to you.
First make a folder to hold your custom fonts.
Code:
sudo mkdir /usr/share/fonts/truetype/customttf
I am using customttf as an example and just .ttf fonts in this example.
Next open a terminal in the folder where you have a bunch of custom fonts and run command
Code:
sudo cp ./*.ttf /usr/share/fonts/truetype/customttf
This will copy the truetype fonts to that folder.
Now that we have the fonts in the proper folder we need to install them in Ubuntu.
Open a terminal in your customttf folder use command
Code:
sudo fc-cache -f -v
This will install the fonts so that your applications like OpenOffice and others can use them.
Bookmarks