7.4.2. Core X Font System
For compatibility, Red Hat Enterprise Linux provides the core X font subsystem, which uses the X Font Server (
xfs) to provide fonts to X client applications.
The X server looks for a font server specified in the
FontPathdirective within the
Filessection of the
/etc/X11/xorg.confconfiguration file. Refer to Section 220.127.116.11, “
Files” for more information about the
The X server connects to the
xfsserver on a specified port to acquire font information. For this reason, the
xfsservice must be running for X to start. For more about configuring services for a particular runlevel, refer to the chapter titled Controlling Access to Services in the System Administrators Guide.
/etc/rc.d/init.d/xfsscript starts the
xfsserver. Several options can be configured within its configuration file,
The following lists common options:
alternate-servers— Specifies a list of alternate font servers to be used if this font server is not available. A comma must seperate each font server in a list.
catalogue— Specifies an ordered list of font paths to use. A comma must seperate each font path in a list.Use the string
:unscaledimmediately after the font path to make the unscaled fonts in that path load first. Then specify the entire path again, so that other scaled fonts are also loaded.
client-limit— Specifies the maximum number of clients the font server services. The default is
clone-self— Allows the font server to clone a new version of itself when the
client-limitis hit. By default, this option is
default-point-size— Specifies the default point size for any font that does not specify this value. The value for this option is set in decipoints. The default of
120corresponds to a 12 point font.
default-resolutions— Specifies a list of resolutions supported by the X server. Each resolution in the list must be separated by a comma.
deferglyphs— Specifies whether to defer loading glyphs (the graphic used to visually represent a font). To disable this feature use
none, to enable this feature for all fonts use
all, or to turn this this feature on only for 16-bit fonts use
error-file— Specifies the path and file name of a location where
xfserrors are logged.
xfsfrom listening to particular protocols. By default, this option is set to
xfsfrom listening on TCP ports for security reasons.
xfsto serve fonts over the network, remove this line.
port— Specifies the TCP port that
xfslistens on if
no-listendoes not exist or is commented out.
use-syslog— Specifies whether to use the system error log.