source: archive/xpdf.xml@ c4a5206

10.0 10.1 11.0 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 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since c4a5206 was c4a5206, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Cleanup XII. Printing, Scanning and Typesetting

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

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