How do you remove fonts from Ubuntu?
When I look at the font list in OpenOffice in Ubuntu there are dozens of fonts that all look the same. They are obviously there for various non-latin alphabets but I have not installed those language packs so the fonts all appear as plain sans. It would be nice to get rid of the ones I don't use to shorten the list and make it easier to find the ones I want. It would also speed up the loading time of the word processor. I would also like to install a few replacement fonts so that they are available to all users, (ie. not just by putting them in my .fonts folder).
I found the 'font-manager' package useful to disable (without removing) these international fonts. This seems to solely disable the font for the current user, leaving them in the list for other accounts.
To make things easy:
sudo aptitude install font-manager
Update and additional details for 14.04:
sudo apt-get install font-manager
works. Note that as of early 14.04 if you go to Ubuntu Software Center and look up the font-manager package it will give a message about unsolved unmet dependencies due to font-manager requiring lower versions of some dependent packages than the versions installed already in 14.04. Never fear, just use apt-get instead.
You can check where the font are located from
/etc/fonts/fonts.conf
Common locations for fonts :
/usr/share/fonts
/usr/local/share/fonts
-
~/.fonts
(if installed for a single user) -
~/.local/share/fonts
(if installed via Font Viewer)
And I guess with admin privileges you can delete them.