1CHKFONTPATH(8) Red Hat, Inc. CHKFONTPATH(8)
2
3
4
6 chkfontpath - simple interface for adding, removing, and listing direc‐
7 tories in the X font server's path
8
9
11 chkfontpath [-lqfh] [-a name of directory to add] [-r name of directory
12 to remove]
13
14
16 chkfontpath provides a simple method of configuring the directories
17 contained in the X font server's path. As of Red Hat 6.0, all fonts in
18 X are served via this separate font server process, not through the
19 main X server process. This speeds up font rendering, and also allows
20 use of font servers which are not running on the local host.
21
22 chkfontpath is mainly used by rpm in its %post and %postun sections to
23 add and remove new directories to the server's config file at installa‐
24 tion and de-installation time of packages containing fonts.
25
26 -a, --add=name of directory to add
27 Add a directory to the font path.
28
29 -r, --remove=name of directory to remove
30 Remove a directory from the font path.
31
32 -l, --list
33 List all directories in the font path.
34
35 -q, --quiet
36 Quiet operation; don't display any output to the screen, even
37 when there is an error during operation.
38
39 -f, --first
40 Requires usage of the add command; puts the specified directory
41 first in the font path, rather than last.
42
43 -h, --help
44 Show detailed help on the command line.
45
46
47 When directories are added to the path, some sanity checking is per‐
48 formed to make sure you are not adding a directory without the file
49 fonts.dir contained in it, which the server needs to be able to render
50 fonts properly. When a path is succesfully added or removed, the xfs
51 process is restarted if it is currently running.
52
53
55 chkfontpath returns 0 on success, or 1 on error.
56
57
59 /etc/X11/fs/config
60 Configuration file for the X font server (xfs).
61
62
64 xfs(1),fslsfonts(1)
65
66
68 Written by Preston Brown <pbrown@redhat.com>
69
71 Report bugs to <http://bugzilla.redhat.com>.
72
74 Copyright © 1999-2001 Red Hat, Inc. All rights reserved.
75 This is free software; see the source for copying conditions.
76 There is NO warranty; not even for MERCHANTIBILITY or FITNESS
77 FOR A PARTICULAR PURPOSE.
78
79
80
814th Berkeley Distribution Thu Jan 18 2001 CHKFONTPATH(8)