source: pst/ps/xpdf.xml@ 27e5668d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 27e5668d was 27e5668d, checked in by Igor Živković <igor@…>, 18 years ago

Updated to Xpdf-3.01pl1.

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

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