source: pst/ps/xpdf.xml@ aac75b3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 aac75b3 was aac75b3, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated to Xpdf-3.02

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