Prev | Current Page 228 | Next

Chris Tyler

"X Power Tools"

4
146 Chapter 10: Core Fonts: Fonts the Old Way
# Log errors via syslog.
use-syslog = on
# For security, don't listen to TCP ports by default.
no-listen = tcp
The most important settings are catalogue, which lists the directories searched by
the font server, and no-listen, which disables a network protocol. In this example,
the font server is configured so that it will not listen to TCP/IP, so only local connections
(through Unix domain sockets) are enabled.
To start xfs by hand, simply run it in the background (root privilege is not required):
$ xfs &
If you are going to use xfs in your standard configuration, it is best to enable the xfs
init script, at least for runlevel 5 (and for runlevel 3 if you plan to start X by hand).
The font fixed must be found in order for the X server to start up successfully
(though recent builds of the X.org server have this font compiled
in to the server binary). If you specified the font server as the
only source of fonts for the X server, xfs must be started before the X
server in the boot sequence so that the fixed font can be found.
10.4 Font Names
Core fonts are named and selected using the X Logical Font Description (XLFD) syntax.
This is a set of 14 fields starting with a dash and separated by dashes; the fields
and their meaning are listed in Table 10-1.


Pages:
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240