[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 6


xfs Command

Purpose

Supplies fonts to X Window System display servers.

Syntax

xfs-config ConfigurationFile ] [  -ls ListenSocket ] [  -port Number ]

Description

xfs is the AIXwindows font server. It supplies fonts to AIXwindows display servers.

The xfs server responds to the following signals:

SIGTERM Causes the font server to exit cleanly.
SIGUSR1 Causes the server to re-read its configuration file.
SIGUSR2 Causes the server to flush any cached data it may have.
SIGHUP Causes the server to reset, closing all active connections and re-reading the configuration file.

The server is usually run by a system administrator, and started by way of boot files such as /etc/rc.tcpip. Users may also wish to start private font servers for specific sets of fonts.

The configuration language is a list of keyword and value pairs. Each keyword is followed by an = (equal sign) and the desired value.

The following list shows recognized keywords and the types and descriptions of valid values:

# A comment character when located in the first column.
catalogue (List of string) Ordered list of font path element names. The current implementation only supports a single catalogue ("all"), containing all of the specified fonts.
alternate-servers (List of string) List of alternate servers for this font server.
client-limit (Cardinal) Number of clients that this font server will support before refusing service. This is useful for tuning the load on each individual font server.
clone-self (Boolean) Whether this font server should attempt to clone itself when it reaches the client-limit.
default-point-size (Cardinal) The default point size (in decipoints) for fonts that do not specify.
default-resolutions (List of resolutions)
                          Resolutions the server supports by default. This information may be used as a hint for pre-rendering and substituted for scaled fonts which do not specify a resolution.

A resolution is a comma-separated pair of x and y resolutions in pixels per inch. Multiple resolutions are separated by commas.

error-file (String) Filename of the error file. All warnings and errors are logged here.
port (Cardinal) TCP port on which the server will listen for connections. The default is 7100.
use-syslog (Boolean) Whether the syslog function (on supported systems) is to be used for errors.
deferglyphs (String) Set the mode for delayed fetching and caching of glyphs. Value is none, meaning deferred glyphs is disabled. all, meaning deferred glyphs is enabled for all fonts, and 16 , meaning deferred glyphs is enabled only for 16-bit fonts.

One of the following forms can be used to name a font server that accepts TCP connections:

tcp/hostname:port
tcp/hostname:port/cataloguelist

The hostname specifies the name (or decimal numeric address) of the machine on which the font server is running. The port is the decimal TCP port on which the font server is listening for connections. The cataloguelist specifies a list of catalogue names, with '+' as a separator. The following are some examples:

tcp/expo.lcs.mit.edu:7100, tcp/18.30.0.212:7101/all

One of the following forms can be used to name a font server that accepts DECnet connections:

decnet/nodename::font$objname
decnet/nodename::font$objname/cataloguelist

The nodename specifies the name (or decimal numeric address) of the machine on which the font server is running. The objname is a normal, case-insensitive DECnet object name. The cataloguelist specifies a list of catalogue names, with '+' as a separator.

Flags


-config ConfigurationFile Specifies the configuration file the font server will use.
-ls ListenSocket Specifies a file descriptor that is already set up to be used as the listen socket. This option is only intended to be used by the font server itself when automatically spawning another copy of itself to handle additional connections.
-port Number Specifies the TCP port number on which the server will listen for connections.

Examples

#
# sample font server configuration file
#

# allow a max of 10 clients to connect to this font server
client-limit = 10

# when a font server reaches its limit, start up a new one
clone-self = on

# alternate font servers for clients to use
alternate-servers = hansen:7101,hansen:7102

# where to look for fonts
# the first is a set of Speedo outlines, the second is a set of 
# misc bitmaps and the last is a set of 100dpi bitmaps
#
catalogue = /usr/lib/fonts/type1,
   /usr/lib/X11/ncd/fonts/misc,
   /usr/lib/X11/ncd/fonts/100dpi/

# in 12 points, decipoints
default-point-size = 120

# 100 x 100 and 75 x 75
default-resolutions = 100,100,75,75

Files


/usr/lib/X11/fs/config The default configuration file.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]