source: pst/ps/xpdf.xml@ 4f8845a

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 4f8845a was 4f8845a, checked in by Igor Živković <igor@…>, 17 years ago

Tags fix.

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