Sunday, 8 January 2012
How-to: Update Ubuntu's Font Cache
The easiest way to fresh the font-cache is typed in the terminal window:
sudo fc-cache -fv
But you only have to run fc-cache if you copy fonts into a common sub-folder in /usr/share/fonts/ which is a system-wide directory. It is not necessary for fonts placed in your personal user space, /home, in ~/.fonts.
You shouldn't have to restart the x-server (graphics session manager) to see the new fonts either, Linux is much more elegant these days.
You do still need to restart programs such as Open Office, GIMP and the like to see the new fonts. Those fonts copied to the .fonts folder are picked up by applications once they are restarted. RC