source: pst/ps/xpdf.xml@ 70d93337

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 70d93337 was 70d93337, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to LessTif-0.95.2.

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