source: pst/ps/xpdf.xml@ c8d2e36e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 c8d2e36e was 0167f08, checked in by Igor Živković <igor@…>, 19 years ago

Added a test suite note to Xpdf.

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

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