Prev | Current Page 224 | Next

Chris Tyler

"X Power Tools"

5)
Adjusting font paths is discussed in Section 11.1.
10.2 Configuring the Font Path
Core fonts are managed by the X server. A font path is used to specify the locations
that should be searched for a particular font. These locations can include locally
accessible directories??”either on local storage or mounted across the network??”or
font servers on the network (Section 10.3).
If you??™re using an X.org server, the initial font path is taken from FontPath entries in
the Files section of the configuration file. Here is an example:
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "unix/:7100"
FontPath "/usr/share/X11lib/fonts/misc"
FontPath "/usr/share/X11lib/fonts/TTF"
FontPath "/usr/share/X11lib/fonts/Type1"
FontPath "/usr/share/X11lib/fonts/CID"
FontPath "/usr/share/X11lib/fonts/75dpi"
FontPath "/usr/share/X11lib/fonts/100dpi"
EndSection
The first entry specifies a font server. The format for font server entries is:
protocol/[host]:port[/catalog]
protocol is the network protocol: unix for Unix domain sockets (local connections)
or tcp for TCP/IP network connections; host is the hostname (blank for Unix
domain sockets); port is the port number (usually 7100); and catalog is the list of
font catalogs or collections to be used, separated by + symbols (the default is to use
all available font catalogs on the font server).


Pages:
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236