Installing Truetype In RedHat Linux
The information in this article applies to:
NOTE: although this article follows traditional structure of
MSDN articles, it is
not affiliated with MSDN in any way.
Windows Truetype fonts such as "Verdana" are not available by default
on Linux systems. Unfortunately, many existing web pages specifically require these
fonts and are displayed incorrectly without them.
Lack of Truetype fonts on Linux is caused by copyright issues.
Unlike linux, the fonts are not free and cannot be distributed at will.
If you have a Windows system, follow the following steps in order to make Truetype
fonts available to Linux, :
- Create a directory for Truetype fonts, e.g. /usr/local/share/fonts/ttfonts.
- Copy there all files from Windows font directory which is usually
c:\winnt\fonts on Windows NT/2000.
- Convert all font file names to lower case using this shell script.
- Create fonts.dir and fonts.scale file by giving this commands:
ttmkfdir -o fonts.scale
- Create fonts.alias file by using this Perl script.
- Use command "/usr/sbin/chkfontpath -add dirname" to add directory to xfs path
That's it. Enjoy your Truetype fonts!
Copyright (c) Ivan Krivyakov. Last updated: November 17, 2002