PDA

View Full Version : [ubuntu] adding fonts (ttf)


raunhar
January 30th, 2009, 08:49 AM
How do I install new fonts (ttf) in Ubuntu 8.10
The fonts are from winows fonts folder. I have takena backup and do not know,how to proceed.
Should I copy them directly to etc/fonts folder.
There are two sub folders in the etc/fonts folder (conf. avail , cont.d)

m_duck
January 30th, 2009, 09:14 AM
If you want them available to anybody who uses the computer, copy the files into /usr/share/fonts/truetype/msfonts. You will need to create the msfonts folder, so either in nautilus as root (gksu nautilus) or in terminalsudo mkdir /usr/share/fonts/truetype/msfontsIf you don't mind the fonts being just available for your user, make a .fonts directory in your home folder if it does not already exist and move the .ttf files there.mkdir ~/.fonts

Finally, you need to refresh the font cache, so run the following from a terminalfc-cache -vfYou MS fonts should now be ready to use.