source: pst/ps/xpdf.xml@ 5d34b74

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 6.0 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5d34b74 was 5d34b74, checked in by Randy McMurchy <randy@…>, 20 years ago

Finished shortening the line lengths

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

  • Property mode set to 100644
File size: 6.5 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/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 "N/A">
9 <!ENTITY xpdf-size "534 KB">
10 <!ENTITY xpdf-buildsize "32 MB">
11 <!ENTITY xpdf-time "0.36 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
22<sect2>
23<title>Introduction to <application>Xpdf</application></title>
24
25<para><application>Xpdf</application> is a viewer for Adobe's free Portable
26Document Format (<acronym>PDF</acronym>) which is both fast and small and
27comes with some useful command-line utilities.</para>
28
29<sect3><title>Package information</title>
30<itemizedlist spacing='compact'>
31<listitem><para>Download (HTTP): <ulink
32url="&xpdf-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink
34url="&xpdf-download-ftp;"/></para></listitem>
35<listitem><para>Download MD5 sum: &xpdf-md5sum;</para></listitem>
36<listitem><para>Download size: &xpdf-size;</para></listitem>
37<listitem><para>Estimated disk space required:
38&xpdf-buildsize;</para></listitem>
39<listitem><para>Estimated build time:
40&xpdf-time;</para></listitem></itemizedlist>
41</sect3>
42
43<sect3><title>Additional downloads</title>
44<itemizedlist spacing='compact'>
45<listitem><para>Required patch: <ulink
46url="ftp://ftp.foolabs.com/pub/xpdf/xpdf-&xpdf-version;.patch"/></para>
47</listitem>
48<listitem><para>Required patch: <ulink
49url="&patch-root;/xpdf-&xpdf-version;-freetype_2.1.7_hack-2.patch"/></para>
50</listitem>
51</itemizedlist></sect3>
52
53<sect3><title><application>Xpdf</application> dependencies</title>
54<sect4><title>Required</title>
55<para><xref linkend="lesstif"/></para>
56</sect4>
57
58<sect4><title>Optional</title>
59<para><xref linkend="gs"/> or <xref linkend="espgs"/> (just the fonts),
60<ulink
61url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
62t1lib</ulink>
63and <ulink
64url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>
65</para></sect4>
66</sect3>
67
68</sect2>
69
70<sect2>
71<title>Installation of <application>Xpdf</application></title>
72
73<para>Install <application>Xpdf</application> by running the following commands:
74</para>
75
76<screen><userinput><command>patch -d xpdf -Np0 -i ../../xpdf-&xpdf-version;.patch &amp;&amp;
77patch -Np1 -i ../xpdf-&xpdf-version;-freetype_2.1.7_hack-2.patch &amp;&amp;
78./configure --prefix=/usr --sysconfdir=/etc \
79 --with-freetype2-includes=/usr/include/freetype2 &amp;&amp;
80make &amp;&amp;
81make install</command></userinput></screen>
82
83</sect2>
84
85<sect2>
86<title>Installation command explanations</title>
87
88<para><option>--enable-a4-paper</option>: This switch must be
89added to set <acronym>DIN</acronym> A4 as the standard paper format.</para>
90
91</sect2>
92
93<sect2>
94<title>Configuring <application>Xpdf</application></title>
95
96<sect3><title>Config files</title>
97<para><filename>/etc/xpdfrc</filename>,
98<filename>~/.xpdfrc</filename></para></sect3>
99
100<sect3><title>Configuration Information</title>
101
102<para>In the <filename class='directory'>/etc</filename> directory you will
103find a sample <filename>xpdfrc</filename> that can be either copied to
104<filename>~/.xpdfrc</filename> or taken as an example to write your own
105configuration file.</para>
106
107<screen><userinput># Example .xpdfrc
108displayFontT1 Times-Roman /usr/share/ghostscript/fonts/n021003l.pfb
109displayFontT1 Times-Italic /usr/share/ghostscript/fonts/n021023l.pfb
110displayFontT1 Times-Bold /usr/share/ghostscript/fonts/n021004l.pfb
111displayFontT1 Times-BoldItalic /usr/share/ghostscript/fonts/n021024l.pfb
112displayFontT1 Helvetica /usr/share/ghostscript/fonts/n019003l.pfb
113displayFontT1 Helvetica-Oblique /usr/share/ghostscript/fonts/n019023l.pfb
114displayFontT1 Helvetica-Bold /usr/share/ghostscript/fonts/n019004l.pfb
115displayFontT1 Helvetica-BoldOblique /usr/share/ghostscript/fonts/n019024l.pfb
116displayFontT1 Courier /usr/share/ghostscript/fonts/n022003l.pfb
117displayFontT1 Courier-Oblique /usr/share/ghostscript/fonts/n022023l.pfb
118displayFontT1 Courier-Bold /usr/share/ghostscript/fonts/n022004l.pfb
119displayFontT1 Courier-BoldOblique /usr/share/ghostscript/fonts/n022024l.pfb
120displayFontT1 Symbol /usr/share/ghostscript/fonts/s050000l.pfb
121displayFontT1 ZapfDingbats /usr/share/ghostscript/fonts/d050000l.pfb
122
123fontDir /usr/X11R6/lib/X11/fonts/TTF
124
125psFile "|lpr"
126psPaperSize letter
127#psPaperSize A4
128textEOL unix
129
130enableT1lib yes
131enableFreeType yes
132antialias yes
133
134urlCommand "links -g %s"</userinput></screen>
135</sect3>
136
137</sect2>
138
139<sect2>
140<title>Contents</title>
141
142<para>The <application>Xpdf</application> package contains
143<command>xpdf</command>, <command>pdftops</command>,
144<command>pdftotext</command>, <command>pdftoppm</command>,
145<command>pdffonts</command>, <command>pdfimages</command> and
146<command>pdfinfo</command>.</para>
147</sect2>
148
149<sect2><title>Description</title>
150
151<sect3><title>xpdf</title>
152<para><command>xpdf</command> displays files in <acronym>PDF</acronym>
153format.</para></sect3>
154
155<sect3><title>pdftops</title>
156<para><command>pdftops</command> converts <acronym>PDF</acronym> files to
157<acronym>PS</acronym> format.</para></sect3>
158
159<sect3><title>pdftotext</title>
160<para><command>pdftotext</command> parses <acronym>ASCII</acronym> text from
161<acronym>PDF</acronym> files.</para></sect3>
162
163<sect3><title>pdftoppm</title>
164<para><command>pdftoppm</command> converts <acronym>PDF</acronym> files to
165<acronym>PBM</acronym>, <acronym>PGM</acronym>, <acronym>PPM</acronym>
166formats.</para></sect3>
167
168<sect3><title>pdffonts</title>
169<para><command>pdffonts</command> lists the fonts used in a
170<acronym>PDF</acronym> file along with various information for each
171font.</para></sect3>
172
173<sect3><title>pdfimages</title>
174<para><command>pdfimages</command> saves images from a
175<acronym>PDF</acronym> file as <acronym>PPM</acronym>,
176<acronym>PBM</acronym>, or <acronym>JPEG</acronym> files.</para></sect3>
177
178<sect3><title>pdfinfo</title>
179<para><command>pdfinfo</command> prints the contents of the 'Info'
180dictionary (plus some other useful information) from a
181<acronym>PDF</acronym> file.</para></sect3>
182
183</sect2>
184
185</sect1>
Note: See TracBrowser for help on using the repository browser.