Installing fonts in linux
by Prabakaran[ Edit ] 2012-04-25 18:17:24
<pre>
<font color=#0000B3>Install and configure Unicode TrueType fonts in Linux
Uncompress the downloaded font archive to a directory and add it to the font path, a list of directories containing fonts:
1. Uncompress the archive
# tar xvzf utf8.tar.gz
or
# tar xvjf arial.tar.bz2
2. Create a directory for new fonts
# mkdir /usr/share/fonts/truetype
3. Move the uncompressed font files to the new font directory
# mv *.ttf /usr/share/fonts/truetype
4. Navigate to the font directory
# cd /usr/share/fonts/truetype
5. Create fonts.scale and fonts.dir
# mkfontscale && mkfontdir
# fc-cache
6. Add the new font directory to the X11 font path
# chkfontpath --add /usr/share/fonts/truetype
7. Restart X font server
# /etc/rc.d/init.d/xfs restart
</font></pre>