Typo
[linux_from_scratch_hints.git] / OLD / xpdf.txt
blob325081605e92343067980fb4145d66688214f53e
1 TITLE:          Setting up and configure xpdf
2 LFS VERSION:    any
3 AUTHOR:         Alex Kloss <l.x.@gmx.de>
5 SYNOPSIS:
6         xpdf is a free and fast replacement for the Acrobat Reader,
7         featuring some very useful utils (like pdftotext
9 HINT:   
10         Pine is one of the most userfriendly mail reading/sending
11         utilities. 
13 DOWNLOADS:
14         ftp://ftp.foolabs.com/pub/xpdf/ or
15         http://www.foolabs.com/xpdf/download.html
16         -> xpdf-<version>.tar.gz
17         optional: t1lib-<version>.tar.gz and freetype-<version>.tar.gz
18         The t1lib is only to render Type 1 fonts (not really necessary),
19         while freetype2 is usually already installed with XFree86.
21 INSTALL:
22         Since Freetype2 is usually already installed with XFree86, here
23         are no separate instructions how to install this package.
24         You don't need to install t1lib either to use xpdf, but you can
25         have antialiased Type1 fonts with it (which is extremely cool),
26         so you may want to install it anyway.
28         t1lib:
29         ======
30         
31         ./configure --prefix=/usr/X11R6 &&
32         make [without_doc*] &&
33         make install
34         
35         *: if you don't have LaTeX or want the documentation, otherwise
36         simply use "make"
38         
39         xpdf:
40         =====
42          ./configure --prefix=/usr/X11R6 --enable-a4-paper \
43         --with-freetype2-includes=/usr/X11R6/include/freetype2 \
44         --with-freetype2-library=/usr/X11R6/lib --with-gzip \
45         --with-appdef-dir=/usr/X11R6/lib/X11/app-defaults/ &&
46         make &&
47         make install
50 CONFIGURATION:
51         Copy the sample configuration file:
53         cp doc/sample-xpdfrc ~/.xpdfrc
55         and edit the file to match your needs. Everything is commented
56         out, so you should at least choose your favourite browser and
57         whatever font replacements are necessary on your system (and
58         maybe you want antialiasing, too - both settings are on the
59         bottom of the file).
62 Hope this was helpful!
63 Alex