source: pst/ps/xpdf.xml@ 67f79cec

10.0 10.1 11.0 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 gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 67f79cec was 67f79cec, checked in by Igor Živković <igor@…>, 17 years ago

Updated to LessTif-0.93.96 and Xpdf-3.00pl1.

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