Linuxdoc Linux Questions
Click here to ask our community of linux experts!
Custom Search
Next Previous Contents

2. Procedure

Since my last update a lot has happened but the procedure is still the same even for X.org. Just adjust the filename if necessary.

Get a set of TrueType fonts (for example from one of the many sites making fonts availiable for download) and do the following as root at the command line:

Now if you have a working installation of Windows on one of your partitions, you must use the fonts directly from there, copying them to a directory of your Linux partition is considered *illegal*. First read up on how to get your windows partition detected and working in Linux (most distributions do that at installation time, and by default), then as root do the following:

This will make all the fonts on your Windows partition work correctly in X.

There you go. You will now have all of your TrueType fonts working. If you want to add fonts, just move/copy those [*.ttf files] into the aforementioned directory, and repeat the process.

Netscape has problems with these fonts, you have to check the "Allow Scaling" setting in the Fonts dialog, don't feel distracted by the fact that it only shows font sizes 0 and 12. Mozilla has no such problems. Opera neither.

The mkfontdir executable should be included with your XFree 4.x distribution.

If you are missing ttmkfdir, you can obtain it here: http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz

The latest version of XFree86 (currently 4.4.0) can be found at: http://www.xfree86.org

The latest version of X.org can be found here: http://freedesktop.org/XOrg


Next Previous Contents