Pick a Free OS

User login

Navigation

True Type fonts under Linux

ready to serve fonts remotely.

Let's move on to the various configuration options given here. Red Hat's

xfs configuration file is /etc/X11/fs/config. Syntax is the same.

client-limit = x

The number of clients that the font server should serve fonts to.

clone-self = off

If the font server reached it's client limit then should it create a clone

to serve more clients. Use 'on' here if you want his behaviour.

use-syslog = off

Whether the font server should send messages and errors to syslog. Better

option is to dump all that in a seperate file using the option below.

error-file = /foo/blah/xfs.errors

The file to which warning and errors will be dumped.

default-point-size = 120

The default point size in decipoints for fonts where this is not

specified.

default-resolutions = 100,100,75,75

Default resolutions supported by the font server in pixels per

inch. Multiple resolutions are seperated by commas.

catalogue = /usr/X11R6/lib/X11/fonts/ttf

A list of the directories where fonts can be found. Seperate with commas

but no comma after the last entry.

Start xfs with xfs -config /etc/xfsft.conf &

Now you need to tell your X server the location of the True Type fonts. Make

the following entry in all the client machines that will be using the font

server. The file to edit is XF86config. This will be found under

/etc/XF86config for SuSE or under /etc/X11/XF86config for Red Hat users. Find

the FontPath entries in the configuration file and add another line there.

FontPath "tcp/foobar:7100"

Replace foobar with the name of your server or the IP address of the

server. Or enter localhost if the fontserver is running locally. Red Hat

users will need to replace the entry unix/:-1 with the above.

One thing you will have to be careful about. If the font server goes down

on the server then X will refuse to start because it is not able to find

the True Type fonts. Comment out the entry and X will work fine.

Start your browser and check out a cleaner web. If all goes well then just

add the next entry to your startup scripts or to the server's startup

scripts depending on where you're running the font server.

/usr/X11R6/bin/xfs -config /etc/xfstf.conf &

That's all you need to do to use True Type fonts under Linux. But it's not

all good news. Fonts under Linux do not look as good as under Windows. Windows