1Installation Notes
2------------------
3
4These install instructions should suffice for 98% of all users. For more
5advanced requirements refer to the xfstt(1x) man page or the FAQ.
6
7Git Sources
8-----------
9
100) Maintainer setup
11
12   You will need this software:
13
14	autoconf >= 2.53
15	automake >= 1.5
16	gettext  == 0.18
17	pkg-config
18
19   And running the following command on the source dir:
20
21	$ autoreconf -Wall -f -i
22
23   At this stage the source should be equivalent to the distributed tar
24   source.
25
26Distributed tar Sources
27-----------------------
28
291) Configuring
30
31	$ ./configure [options]
32
33   For all available options see "configure --help". If you want later to
34   install in a different directory you may be interested in --prefix
35   and --localestatedir options.
36
372) Compiling. You will need the X fonts proto header files.
38
39	$ make && make install
40
41   (use gmake instead of the standard make on FreeBSD)
42
433) Copy some truetype (.ttf) files or create symlinks to truetype directories
44   in the default installation directory /usr/local/share/fonts/TrueType
45   (note that this directory may be changed in the configure step). Then to
46   generate the font databases:
47
48	$ xfstt --sync
49
504) Start xfstt in the background. You may put this on the boot init sequence.
51   If your distribution has a System V init then take a look at the example
52   initrc file provided in the docs/examples dirs. Else if your distro uses
53   a BSD init you can add the following line to the /etc/rc.local file.
54
55	$ xfstt --daemon
56
575) Tell your X11 server about the new font service:
58
59	$ xset fp+ unix/:7101
60
61   or add the new fontpath to the X11 config file, Section "Files", on
62   XFree86 4.0 and above, the file can be found on /etc/X11/XF86Config-4
63
64	FontPath "unix/:7101"
65
66   Read FAQ item 2.1 if you are having problems after doing this.
67