.\" .\" Copyright 1991, 1998 The Open Group .\" .\" Permission to use, copy, modify, distribute, and sell this software and its .\" documentation for any purpose is hereby granted without fee, provided that .\" the above copyright notice appear in all copies and that both that .\" copyright notice and this permission notice appear in supporting .\" documentation. .\" .\" The above copyright notice and this permission notice shall be included in .\" all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL .\" THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, .\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF .\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE .\" SOFTWARE. .\" .\" Except as contained in this notice, the name of The Open Group shall not .\" be used in advertising or otherwise to promote the sale, use or other .\" dealing in this Software without prior written authorization from the .\" The Open Group. .\" Copyright 1991 Network Computing Devices .\" .\" Permission to use, copy, modify, distribute, and sell this software and .\" its documentation for any purpose is hereby granted without fee, provided .\" that the above copyright notice appear in all copies and that both that .\" copyright notice and this permission notice appear in supporting .\" documentation, and that the name of Network Computing Devices .\" not be used in advertising or .\" publicity pertaining to distribution of the software without specific, .\" written prior permission. Network Computing Devices make .\" no representations about the .\" suitability of this software for any purpose. It is provided "as is" .\" without express or implied warranty. .TH xfs __appmansuffix__ __xorgversion__ .SH NAME xfs \- X font server .SH SYNOPSIS .B xfs [ .BI "\-config " configuration_file ] [ .B \-daemon ] [ .B \-droppriv ] [ .B \-inetd ] [ .BI "\-ls " listen_socket ] [ .B \-nodaemon ] [ .BI "\-port " tcp_port ] [ .BI "\-user " username ] [ .B \-version ] .SH DESCRIPTION .B xfs is the X Window System font server. It supplies fonts to X Window System display servers. The server is usually run by a system administrator, and started via .BR init (__adminmansuffix__) or .BR inetd (__adminmansuffix__). Users may also wish to start private font servers for specific sets of fonts. .PP To connect to a font server, see the documentation for your X server; it likely supports the syntax documented in the \(lqFONT SERVER NAMES\(rq section of .BR X (__miscmansuffix__). .SH OPTIONS .TP .BI "\-config " configuration_file specifies the configuration file .B xfs will use. If this parameter is not specified, xfs will read its configuration from __configfiledesc__ .IR __configfilepath__ . .TP .B \-daemon instructs .B xfs to fork and go into the background automatically at startup. If this option is not specified, .B xfs will run as a regular process (unless it was built to daemonize by default). When running as a daemon, .B xfs will attempt to create a file in which it stores its process ID, and will delete that file upon exit; .TP .B \-droppriv instructs .B xfs to attempt to run as user and group .I xfs (unless the .B \-user option is used). This has been implemented for security reasons, as .B xfs may have undiscovered buffer overflows or other paths for possible exploit, both local and remote. When using this option, you may also wish to specify \(oqno\-listen = tcp\(cq in the config file, which ensures that .B xfs will not to use a TCP port at all. By default, .B xfs runs with the user and group IDs of the user who invoked it. .TP .B \-inetd informs .B xfs that it is being started by inetd, and that a listening socket on the appropriate port is being passed as standard input. Assumes that inetd is configured to "wait" mode, and will thus allow xfs to handle listening for and accepting further connections on this port. This allows xfs to be started on demand when the first font client connects. When using this option, the -daemon and -port flags are ignored. .TP .BI "\-ls " listen_socket specifies a file descriptor which 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. .TP .B \-nodaemon instructs .B xfs not to daemonize (fork and detach from its controlling terminal). This option only has an effect if .B xfs is built to daemonize by default, which is not the stock configuration. .TP .BI "\-port " tcp_port specifies the TCP port number on which the server will listen for connections. The default port number is 7100. This option is ignored if .B xfs is configured to not listen to TCP transports at all (see \(lqConfiguration File Format\(rq below). .TP .BI "\-user " username instructs .B xfs to run as the user .IR username. See .B \-droppriv for why this may be desired. By default, .B xfs runs with the user and group IDs of the user who invoked it. .TP .B \-version instructs .B xfs to print the program version and exit. .SH "INPUT FILES" .B xfs reads and serves any font file format recognized by the X server itself. It locates font files through the specification of a .IR catalogue , which is declared in .BR xfs 's configuration file. .SS "Configuration File Format" .B xfs reads its configuration from a text file (see the .B \-config option in the \(lqOPTIONS\(rq section above). The configuration language is a list of keyword and value pairs. Each keyword is followed by an equals sign (\(oq=\(cq) and then the desired value. .PP Recognized keywords include: .TP .BR alternate\-servers " (list of \fIstring\fPs)" lists alternate servers for this font server. See the \(lqFONT SERVER NAMES\(rq section of .BR X (__miscmansuffix__) for the syntax of the string. .\" .TP .\" .BR cache\-size " (\fIcardinal\fP)" .\" determines the size (in bytes) of the font server cache. .TP .BR catalogue " (list of \fIstring\fPs)" declares as ordered list of font path element names from which fonts will be served. The current implementation only supports a single catalogue ("all") containing all of the specified fonts. A special directory with symlinks to font paths can be specified using a catalogue: