[thelist] [OT] Adding True Type fonts to the X server in Linux.

Samir M. Nassar nassarsa at redconcepts.net
Sun May 26 13:02:01 CDT 2002


Warning: this is valid for Red Hat Linux. Other distributions might have
diffrent locations for files.

Want to add nicer True Type fonts to your Linux box? Do you really miss
Verdana and Georgia? Want to make kickin' logos with the GIMP?

<tip type="True Type Fonts for Linux" author="Samir M. Nassar">

A -
Install freetype. http://rpmfind.net

B -
backups: /etc/X11/fs/config, /etc/X11/XF86Config-4

C-
1- create directory such as /usr/share/fonts/TrueType/
2- copy all true type fonts to said directory.
3- # touch fonts.dir; # touch fonts.scale
4- in directory: # ttmkfdir > fonts.scale; # ttmkfdir fonts.dir
5- In directory: # mkfontdir

D- edit /etc/X11/fs/config :
look for [ catalogue = ] and on a new line below the other folders add
the directory you created to hold your fonts.

E- edit /etc/X11/XF86Config-4 :
look for [ Section "Module" ] and on a new line add [ Load  "freetype" ]

F-
Restart the X server.

G-
Once this is done once, just go through C-4 and C-5 again when you add
more fonts.
</tip>

Samir M. Nassar
--
RedConcepts.NET              --  Open Solutions Design Syndicate
Open Source, Public Service  --  the Art and Craft of Webdesign
http://redconcepts.net       --  http://os-ds.com
     'Open Source, Open Systems, Open Borders, Open Minds'




More information about the thelist mailing list