source: archive/xpdf.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 4 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 9.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xpdf-download-http "http://gd.tuwien.ac.at/publishing/xpdf/xpdf-&xpdf-version;.tar.gz">
8 <!ENTITY xpdf-download-ftp "ftp://ftp.foolabs.com/pub/xpdf/xpdf-&xpdf-version;.tar.gz">
9 <!ENTITY xpdf-md5sum "599dc4cc65a07ee868cf92a667a913d2">
10 <!ENTITY xpdf-size "674 KB">
11 <!ENTITY xpdf-buildsize "46 MB">
12 <!ENTITY xpdf-time "0.5 SBU">
13]>
14
15<sect1 id="xpdf" xreflabel="Xpdf-&xpdf-version;">
16 <?dbhtml filename="xpdf.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>Xpdf-&xpdf-version;</title>
23
24 <indexterm zone="xpdf">
25 <primary sortas="a-Xpdf">Xpdf</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Xpdf</title>
30
31 <para><application>Xpdf</application> is a viewer for Adobe's free
32 Portable Document Format (PDF) which is both fast and small and
33 comes with some useful command-line utilities.</para>
34
35 &lfs65_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&xpdf-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&xpdf-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &xpdf-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &xpdf-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &xpdf-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &xpdf-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
60 <itemizedlist spacing='compact'>
61 <listitem>
62 <para>Required patch: <ulink
63 url="&patch-root;/xpdf-&xpdf-version;-consolidated_pl5-1.patch"/></para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">Xpdf Dependencies</bridgehead>
68
69 <bridgehead renderas="sect4">Required</bridgehead>
70 <para role="required"><xref linkend="lesstif"/></para>
71
72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para role="optional"><xref linkend="gs"/><!-- or <xref linkend="espgs"/> -->
74 (just the fonts),
75 <ulink url="http://www.sfr-fresh.com/linux/misc/t1lib">t1lib</ulink>, and
76 <ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink></para>
77
78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/Xpdf"/></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of Xpdf</title>
85
86 <para>Install <application>Xpdf</application> by running the following
87 commands:</para>
88
89<screen><userinput>patch -Np1 -i ../xpdf-&xpdf-version;-consolidated_pl5-1.patch &amp;&amp;
90./configure --prefix=/usr \
91 --sysconfdir=/etc \
92 --with-freetype2-includes=/usr/include/freetype2 \
93 --enable-opi \
94 --enable-multithreaded \
95 --enable-wordlist &amp;&amp;
96make</userinput></screen>
97
98 <para>This package does not come with a test suite.</para>
99
100 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
101
102<screen role="root"><userinput>make install</userinput></screen>
103
104 </sect2>
105
106 <sect2 role="commands">
107 <title>Command Explanations</title>
108
109 <para><option>--enable-a4-paper</option>: This switch must be
110 added to set DIN A4 as the standard paper format.</para>
111
112 </sect2>
113
114 <sect2 role="configuration">
115 <title>Configuring Xpdf</title>
116
117 <sect3 id="xpdf-config">
118 <title>Config Files</title>
119
120 <para><filename>/etc/xpdfrc</filename> and
121 <filename>~/.xpdfrc</filename></para>
122
123 <indexterm zone="xpdf xpdf-config">
124 <primary sortas="e-AA.xpdfrc">~/.xpdfrc</primary>
125 </indexterm>
126
127 <indexterm zone="xpdf xpdf-config">
128 <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
129 </indexterm>
130
131 </sect3>
132
133 <sect3>
134 <title>Configuration Information</title>
135
136 <para>In the <filename class='directory'>/etc</filename> directory you
137 will find a sample <filename>xpdfrc</filename> that can be either copied
138 to <filename>~/.xpdfrc</filename> or taken as an example to write your
139 own configuration file. Below you'll find a condensed version of the
140 file you may wish to build from.</para>
141
142<screen><literal># Example .xpdfrc
143displayFontT1 Times-Roman /usr/share/ghostscript/fonts/n021003l.pfb
144displayFontT1 Times-Italic /usr/share/ghostscript/fonts/n021023l.pfb
145displayFontT1 Times-Bold /usr/share/ghostscript/fonts/n021004l.pfb
146displayFontT1 Times-BoldItalic /usr/share/ghostscript/fonts/n021024l.pfb
147displayFontT1 Helvetica /usr/share/ghostscript/fonts/n019003l.pfb
148displayFontT1 Helvetica-Oblique /usr/share/ghostscript/fonts/n019023l.pfb
149displayFontT1 Helvetica-Bold /usr/share/ghostscript/fonts/n019004l.pfb
150displayFontT1 Helvetica-BoldOblique /usr/share/ghostscript/fonts/n019024l.pfb
151displayFontT1 Courier /usr/share/ghostscript/fonts/n022003l.pfb
152displayFontT1 Courier-Oblique /usr/share/ghostscript/fonts/n022023l.pfb
153displayFontT1 Courier-Bold /usr/share/ghostscript/fonts/n022004l.pfb
154displayFontT1 Courier-BoldOblique /usr/share/ghostscript/fonts/n022024l.pfb
155displayFontT1 Symbol /usr/share/ghostscript/fonts/s050000l.pfb
156displayFontT1 ZapfDingbats /usr/share/ghostscript/fonts/d050000l.pfb
157
158fontDir /usr/share/fonts/X11-TTF
159
160psFile "|lpr"
161psPaperSize letter
162#psPaperSize A4
163textEOL unix
164
165enableT1lib yes
166enableFreeType yes
167antialias yes
168
169urlCommand "links -g %s"</literal></screen>
170
171 </sect3>
172
173 </sect2>
174
175 <sect2 role="content" id="xpdf-content"
176 xreflabel="See the Xpdf-&xpdf-version; program descriptions">
177 <title>Contents</title>
178
179 <segmentedlist>
180 <segtitle>Installed Programs</segtitle>
181 <segtitle>Installed Libraries</segtitle>
182 <segtitle>Installed Directories</segtitle>
183
184 <seglistitem>
185 <seg>pdffonts, pdfimages, pdfinfo, pdftoppm, pdftops, pdftotext,
186 and xpdf</seg>
187 <seg>None</seg>
188 <seg>None</seg>
189 </seglistitem>
190 </segmentedlist>
191
192 <variablelist>
193 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
194 <?dbfo list-presentation="list"?>
195 <?dbhtml list-presentation="table"?>
196
197 <varlistentry id="pdffonts">
198 <term><command>pdffonts</command></term>
199 <listitem>
200 <para>lists the fonts used in a PDF file along
201 with various information for each font.</para>
202 <indexterm zone="xpdf pdffonts">
203 <primary sortas="b-pdffonts">pdffonts</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="pdfimages">
209 <term><command>pdfimages</command></term>
210 <listitem>
211 <para>saves images from a PDF file as PPM, PBM, or JPEG files.</para>
212 <indexterm zone="xpdf pdfimages">
213 <primary sortas="b-pdfimages">pdfimages</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="pdfinfo">
219 <term><command>pdfinfo</command></term>
220 <listitem>
221 <para>prints the contents of the 'Info' dictionary (plus some
222 other useful information) from a PDF file.</para>
223 <indexterm zone="xpdf pdfinfo">
224 <primary sortas="b-pdfinfo">pdfinfo</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="pdftoppm">
230 <term><command>pdftoppm</command></term>
231 <listitem>
232 <para>converts PDF files to PBM, PGM and PPM formats.</para>
233 <indexterm zone="xpdf pdftoppm">
234 <primary sortas="b-pdftoppm">pdftoppm</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="pdftops">
240 <term><command>pdftops</command></term>
241 <listitem>
242 <para> converts PDF files to Postscript format.</para>
243 <indexterm zone="xpdf pdftops">
244 <primary sortas="b-pdftops">pdftops</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="pdftotext">
250 <term><command>pdftotext</command></term>
251 <listitem>
252 <para>parses ASCII text from PDF files.</para>
253 <indexterm zone="xpdf pdftotext">
254 <primary sortas="b-pdftotext">pdftotext</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry id="xpdf-prog">
260 <term><command>xpdf</command></term>
261 <listitem>
262 <para>displays files in PDF format.</para>
263 <indexterm zone="xpdf xpdf-prog">
264 <primary sortas="b-xpdf">xpdf</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 </variablelist>
270
271 </sect2>
272
273</sect1>
Note: See TracBrowser for help on using the repository browser.