source: pst/ps/xpdf.xml@ e290b228

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 e290b228 was e290b228, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to LessTif-0.94.0; updated Xpdf freetype patch

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

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