source: pst/ps/xpdf.xml@ 201b03d

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 201b03d was d931c7f, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated to Poppler-0.5.4

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6913 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;">
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 <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" id="xpdf-content"
175 xreflabel="See the Xpdf-&xpdf-version; program descriptions">
176 <title>Contents</title>
177
178 <segmentedlist>
179 <segtitle>Installed Programs</segtitle>
180 <segtitle>Installed Libraries</segtitle>
181 <segtitle>Installed Directories</segtitle>
182
183 <seglistitem>
184 <seg>pdffonts, pdfimages, pdfinfo, pdftoppm, pdftops, pdftotext,
185 and xpdf</seg>
186 <seg>None</seg>
187 <seg>None</seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="pdffonts">
197 <term><command>pdffonts</command></term>
198 <listitem>
199 <para>lists the fonts used in a PDF file along
200 with various information for each font.</para>
201 <indexterm zone="xpdf pdffonts">
202 <primary sortas="b-pdffonts">pdffonts</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="pdfimages">
208 <term><command>pdfimages</command></term>
209 <listitem>
210 <para>saves images from a PDF file as PPM, PBM, or JPEG files.</para>
211 <indexterm zone="xpdf pdfimages">
212 <primary sortas="b-pdfimages">pdfimages</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="pdfinfo">
218 <term><command>pdfinfo</command></term>
219 <listitem>
220 <para>prints the contents of the 'Info' dictionary (plus some
221 other useful information) from a PDF file.</para>
222 <indexterm zone="xpdf pdfinfo">
223 <primary sortas="b-pdfinfo">pdfinfo</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="pdftoppm">
229 <term><command>pdftoppm</command></term>
230 <listitem>
231 <para>converts PDF files to PBM, PGM and PPM formats.</para>
232 <indexterm zone="xpdf pdftoppm">
233 <primary sortas="b-pdftoppm">pdftoppm</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="pdftops">
239 <term><command>pdftops</command></term>
240 <listitem>
241 <para> converts PDF files to Postscript format.</para>
242 <indexterm zone="xpdf pdftops">
243 <primary sortas="b-pdftops">pdftops</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="pdftotext">
249 <term><command>pdftotext</command></term>
250 <listitem>
251 <para>parses ASCII text from PDF files.</para>
252 <indexterm zone="xpdf pdftotext">
253 <primary sortas="b-pdftotext">pdftotext</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="xpdf-prog">
259 <term><command>xpdf</command></term>
260 <listitem>
261 <para>displays files in PDF format.</para>
262 <indexterm zone="xpdf xpdf-prog">
263 <primary sortas="b-xpdf">xpdf</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 </variablelist>
269
270 </sect2>
271
272</sect1>
Note: See TracBrowser for help on using the repository browser.