DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 
Changing fonts

Using the font server and local fonts

You can use local fonts at the same time as fonts from a font server. You can do this in one of two ways:

Specifying multiple font sources with the X server

To configure the X server to use multiple font sources, including local and font server fonts, follow these steps:

  1. Log in as root.

  2. Edit the file /usr/lib/X11/scologin/Xservers.

  3. Find the line that starts the X server. For example:
       :0 local /usr/bin/X11/X :0 -crt /dev/tty02
    

  4. To the end of this line, add the font path option, -fp and the desired fonts (including the font server host and TCP port):
        -fp tcp/boston:7000,/usr/X11/fonts/Speedo,/usr/lib/X11/fonts/misc
    
    This sets the font path for the X server to include a font server running on the server boston and the local font directories Speedo and misc.

  5. To make this change take effect, stop then restart the X server.

Specifying multiple font sources with xset

Follow these steps to specify multiple font sources (local fonts and remote font server fonts):

  1. Log in as root.

  2. Specify the font server in the X server startup file, for example /usr/lib/X11/scologin/Xservers:
       :0 local /usr/bin/X11/X :0 -crt /dev/tty02 -fp tcp/boston:7000
    
    This causes the X server to request fonts from the font server running on the host boston.

  3. In one of the startx configuration files, for example /usr/lib/X11/sys.startxrc, place the following line:
       xset +fp font_location
    
    Replace font_location with a list of directories that contain the fonts you want to use.

  4. Stop the X server, then restart it.


Next topic: Using alternate font server configuration files
Previous topic: Configuring font server connection limits

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003