source: pst/ps/xpdf.xml@ e05cd03f

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 e05cd03f was 41eec069, checked in by Randy McMurchy <randy@…>, 14 years ago

Standardized the source URL and version of t1lib in various packages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8355 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),
77 <ulink url="http://www.sfr-fresh.com/linux/misc/t1lib">t1lib</ulink>, and
78 <ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink></para>
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/Xpdf"/></para>
82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of Xpdf</title>
87
88 <para>Install <application>Xpdf</application> by running the following
89 commands:</para>
90
91<screen><userinput>patch -Np1 -i ../&xpdf-patch; &amp;&amp;
92./configure --prefix=/usr \
93 --sysconfdir=/etc \
94 --with-freetype2-includes=/usr/include/freetype2 \
95 --enable-opi \
96 --enable-multithreaded \
97 --enable-wordlist &amp;&amp;
98make</userinput></screen>
99
100 <para>This package does not come with a test suite.</para>
101
102 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
103
104<screen role="root"><userinput>make install</userinput></screen>
105
106 </sect2>
107
108 <sect2 role="commands">
109 <title>Command Explanations</title>
110
111 <para><option>--enable-a4-paper</option>: This switch must be
112 added to set DIN A4 as the standard paper format.</para>
113
114 </sect2>
115
116 <sect2 role="configuration">
117 <title>Configuring Xpdf</title>
118
119 <sect3 id="xpdf-config">
120 <title>Config Files</title>
121
122 <para><filename>/etc/xpdfrc</filename> and
123 <filename>~/.xpdfrc</filename></para>
124
125 <indexterm zone="xpdf xpdf-config">
126 <primary sortas="e-AA.xpdfrc">~/.xpdfrc</primary>
127 </indexterm>
128
129 <indexterm zone="xpdf xpdf-config">
130 <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
131 </indexterm>
132
133 </sect3>
134
135 <sect3>
136 <title>Configuration Information</title>
137
138 <para>In the <filename class='directory'>/etc</filename> directory you
139 will find a sample <filename>xpdfrc</filename> that can be either copied
140 to <filename>~/.xpdfrc</filename> or taken as an example to write your
141 own configuration file. Below you'll find a condensed version of the
142 file you may wish to build from.</para>
143
144<screen><literal># Example .xpdfrc
145displayFontT1 Times-Roman /usr/share/ghostscript/fonts/n021003l.pfb
146displayFontT1 Times-Italic /usr/share/ghostscript/fonts/n021023l.pfb
147displayFontT1 Times-Bold /usr/share/ghostscript/fonts/n021004l.pfb
148displayFontT1 Times-BoldItalic /usr/share/ghostscript/fonts/n021024l.pfb
149displayFontT1 Helvetica /usr/share/ghostscript/fonts/n019003l.pfb
150displayFontT1 Helvetica-Oblique /usr/share/ghostscript/fonts/n019023l.pfb
151displayFontT1 Helvetica-Bold /usr/share/ghostscript/fonts/n019004l.pfb
152displayFontT1 Helvetica-BoldOblique /usr/share/ghostscript/fonts/n019024l.pfb
153displayFontT1 Courier /usr/share/ghostscript/fonts/n022003l.pfb
154displayFontT1 Courier-Oblique /usr/share/ghostscript/fonts/n022023l.pfb
155displayFontT1 Courier-Bold /usr/share/ghostscript/fonts/n022004l.pfb
156displayFontT1 Courier-BoldOblique /usr/share/ghostscript/fonts/n022024l.pfb
157displayFontT1 Symbol /usr/share/ghostscript/fonts/s050000l.pfb
158displayFontT1 ZapfDingbats /usr/share/ghostscript/fonts/d050000l.pfb
159
160fontDir /usr/share/fonts/X11-TTF
161
162psFile "|lpr"
163psPaperSize letter
164#psPaperSize A4
165textEOL unix
166
167enableT1lib yes
168enableFreeType yes
169antialias yes
170
171urlCommand "links -g %s"</literal></screen>
172
173 </sect3>
174
175 </sect2>
176
177 <sect2 role="content" id="xpdf-content"
178 xreflabel="See the Xpdf-&xpdf-version; program descriptions">
179 <title>Contents</title>
180
181 <segmentedlist>
182 <segtitle>Installed Programs</segtitle>
183 <segtitle>Installed Libraries</segtitle>
184 <segtitle>Installed Directories</segtitle>
185
186 <seglistitem>
187 <seg>pdffonts, pdfimages, pdfinfo, pdftoppm, pdftops, pdftotext,
188 and xpdf</seg>
189 <seg>None</seg>
190 <seg>None</seg>
191 </seglistitem>
192 </segmentedlist>
193
194 <variablelist>
195 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
196 <?dbfo list-presentation="list"?>
197 <?dbhtml list-presentation="table"?>
198
199 <varlistentry id="pdffonts">
200 <term><command>pdffonts</command></term>
201 <listitem>
202 <para>lists the fonts used in a PDF file along
203 with various information for each font.</para>
204 <indexterm zone="xpdf pdffonts">
205 <primary sortas="b-pdffonts">pdffonts</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="pdfimages">
211 <term><command>pdfimages</command></term>
212 <listitem>
213 <para>saves images from a PDF file as PPM, PBM, or JPEG files.</para>
214 <indexterm zone="xpdf pdfimages">
215 <primary sortas="b-pdfimages">pdfimages</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="pdfinfo">
221 <term><command>pdfinfo</command></term>
222 <listitem>
223 <para>prints the contents of the 'Info' dictionary (plus some
224 other useful information) from a PDF file.</para>
225 <indexterm zone="xpdf pdfinfo">
226 <primary sortas="b-pdfinfo">pdfinfo</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="pdftoppm">
232 <term><command>pdftoppm</command></term>
233 <listitem>
234 <para>converts PDF files to PBM, PGM and PPM formats.</para>
235 <indexterm zone="xpdf pdftoppm">
236 <primary sortas="b-pdftoppm">pdftoppm</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="pdftops">
242 <term><command>pdftops</command></term>
243 <listitem>
244 <para> converts PDF files to Postscript format.</para>
245 <indexterm zone="xpdf pdftops">
246 <primary sortas="b-pdftops">pdftops</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="pdftotext">
252 <term><command>pdftotext</command></term>
253 <listitem>
254 <para>parses ASCII text from PDF files.</para>
255 <indexterm zone="xpdf pdftotext">
256 <primary sortas="b-pdftotext">pdftotext</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 <varlistentry id="xpdf-prog">
262 <term><command>xpdf</command></term>
263 <listitem>
264 <para>displays files in PDF format.</para>
265 <indexterm zone="xpdf xpdf-prog">
266 <primary sortas="b-xpdf">xpdf</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 </variablelist>
272
273 </sect2>
274
275</sect1>
Note: See TracBrowser for help on using the repository browser.