source: pst/ps/xpdf.xml@ c125cc9

10.0 10.1 11.0 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since c125cc9 was c125cc9, checked in by Randy McMurchy <randy@…>, 17 years ago

Added libpaper as an optional dependency of Xpdf

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2672 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.2 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY xpdf-download-http "http://gd.tuwien.ac.at/publishing/xpdf/xpdf-&xpdf-version;.tar.gz">
7 <!ENTITY xpdf-download-ftp "ftp://ftp.foolabs.com/pub/xpdf/xpdf-&xpdf-version;.tar.gz">
8 <!ENTITY xpdf-size "490 KB">
9 <!ENTITY xpdf-buildsize "32 MB">
10 <!ENTITY xpdf-time "0.41 SBU">
11]>
12
13<sect1 id="xpdf" xreflabel="Xpdf-&xpdf-version;">
14<sect1info>
15<othername>$LastChangedBy$</othername>
16<date>$Date$</date>
17</sect1info>
18<?dbhtml filename="xpdf.html"?>
19<title>Xpdf-&xpdf-version;</title>
20
21<sect2>
22<title>Introduction to <application>Xpdf</application></title>
23
24<para><application>Xpdf</application> is a viewer for Adobe's free Portable
25Document Format (<acronym>PDF</acronym>) which is both fast and small and
26comes with some useful command-line utilities.</para>
27
28<sect3><title>Package information</title>
29<itemizedlist spacing='compact'>
30<listitem><para>Download (HTTP): <ulink
31url="&xpdf-download-http;"/></para></listitem>
32<listitem><para>Download (FTP): <ulink
33url="&xpdf-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &xpdf-size;</para></listitem>
35<listitem><para>Estimated Disk space required:
36&xpdf-buildsize;</para></listitem>
37<listitem><para>Estimated build time:
38&xpdf-time;</para></listitem></itemizedlist>
39</sect3>
40
41<sect3><title>Additional downloads</title>
42<itemizedlist spacing='compact'>
43<listitem><para>Required Patch: <ulink
44url="&patch-root;/xpdf-&xpdf-version;-freetype_2.1.7_hack-1.patch"/></para></listitem>
45</itemizedlist></sect3>
46
47<sect3><title><application>Xpdf</application> dependencies</title>
48<sect4><title>Required</title>
49<para><xref linkend="lesstif"/>
50</para></sect4>
51<sect4><title>Optional</title>
52<para><xref linkend="gs"/> or <xref linkend="espgs"/>,
53<ulink
54url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">t1lib</ulink>
55and <ulink
56url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>
57</para></sect4>
58</sect3>
59
60</sect2>
61
62<sect2>
63<title>Installation of <application>Xpdf</application></title>
64
65<para>Install <application>Xpdf</application> by running the following commands:
66</para>
67
68<screen><userinput><command>patch -Np1 -i ../xpdf-&xpdf-version;-freetype_2.1.7_hack-1.patch &amp;&amp;
69./configure --prefix=/usr --sysconfdir=/etc \
70 --with-freetype2-includes=/usr/include/freetype2 &amp;&amp;
71make &amp;&amp;
72make install</command></userinput></screen>
73
74</sect2>
75
76<sect2>
77<title>Installation command explanations</title>
78
79<para><option>--enable-a4-paper</option>: This switch must be
80added to set <acronym>DIN</acronym> A4 as the standard paper format.</para>
81
82</sect2>
83
84<sect2>
85<title>Configuring <application>Xpdf</application></title>
86
87<sect3><title>Config files</title>
88<para><filename>/etc/xpdfrc</filename>,
89<filename>~/.xpdfrc</filename></para></sect3>
90
91<sect3><title>Configuration Information</title>
92
93<para>In the <filename class='directory'>/etc</filename> directory you will
94find a sample <filename>xpdfrc</filename> that can be either copied to
95<filename>~/.xpdfrc</filename> or taken as an example to write your own
96configuration file.</para>
97
98<screen><userinput># Example .xpdfrc
99displayFontT1 Times-Roman /usr/share/ghostscript/fonts/n021003l.pfb
100displayFontT1 Times-Italic /usr/share/ghostscript/fonts/n021023l.pfb
101displayFontT1 Times-Bold /usr/share/ghostscript/fonts/n021004l.pfb
102displayFontT1 Times-BoldItalic /usr/share/ghostscript/fonts/n021024l.pfb
103displayFontT1 Helvetica /usr/share/ghostscript/fonts/n019003l.pfb
104displayFontT1 Helvetica-Oblique /usr/share/ghostscript/fonts/n019023l.pfb
105displayFontT1 Helvetica-Bold /usr/share/ghostscript/fonts/n019004l.pfb
106displayFontT1 Helvetica-BoldOblique /usr/share/ghostscript/fonts/n019024l.pfb
107displayFontT1 Courier /usr/share/ghostscript/fonts/n022003l.pfb
108displayFontT1 Courier-Oblique /usr/share/ghostscript/fonts/n022023l.pfb
109displayFontT1 Courier-Bold /usr/share/ghostscript/fonts/n022004l.pfb
110displayFontT1 Courier-BoldOblique /usr/share/ghostscript/fonts/n022024l.pfb
111displayFontT1 Symbol /usr/share/ghostscript/fonts/s050000l.pfb
112displayFontT1 ZapfDingbats /usr/share/ghostscript/fonts/d050000l.pfb
113
114fontDir /usr/X11R6/lib/X11/fonts/TTF
115
116psFile "|lpr"
117psPaperSize letter
118textEOL unix
119
120enableT1lib yes
121enableFreeType yes
122antialias yes
123
124urlCommand "links -g %s"</userinput></screen>
125</sect3>
126
127</sect2>
128
129<sect2>
130<title>Contents</title>
131
132<para>The <application>Xpdf</application> package contains
133<command>xpdf</command>, <command>pdftops</command>,
134<command>pdftotext</command>, <command>pdftoppm</command>,
135<command>pdffonts</command>, <command>pdfimages</command> and
136<command>pdfinfo</command>.</para>
137</sect2>
138
139<sect2><title>Description</title>
140
141<sect3><title>xpdf</title>
142<para><command>xpdf</command> displays files in <acronym>PDF</acronym>
143format.</para></sect3>
144
145<sect3><title>pdftops</title>
146<para><command>pdftops</command> converts <acronym>PDF</acronym> files to
147<acronym>PS</acronym> format.</para></sect3>
148
149<sect3><title>pdftotext</title>
150<para><command>pdftotext</command> parses <acronym>ASCII</acronym> text from
151<acronym>PDF</acronym> files.</para></sect3>
152
153<sect3><title>pdftoppm</title>
154<para><command>pdftoppm</command> converts <acronym>PDF</acronym> files to
155<acronym>PBM</acronym>, <acronym>PGM</acronym>, <acronym>PPM</acronym>
156formats.</para></sect3>
157
158<sect3><title>pdffonts</title>
159<para><command>pdffonts</command> lists the fonts used in a
160<acronym>PDF</acronym> file along with various information for each
161font.</para></sect3>
162
163<sect3><title>pdfimages</title>
164<para><command>pdfimages</command> saves images from a
165<acronym>PDF</acronym> file as <acronym>PPM</acronym>,
166<acronym>PBM</acronym>, or <acronym>JPEG</acronym> files.</para></sect3>
167
168<sect3><title>pdfinfo</title>
169<para><command>pdfinfo</command> prints the contents of the 'Info'
170dictionary (plus some other useful information) from a
171<acronym>PDF</acronym> file.</para></sect3>
172
173</sect2>
174
175</sect1>
Note: See TracBrowser for help on using the repository browser.