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

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 4f8845a was 4f8845a, checked in by Igor Živković <igor@…>, 19 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
RevLine 
[959f944]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;
[4f6275fd]5
[67f79cec]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">
[959f944]8 <!ENTITY xpdf-size "490 KB">
[c125cc9]9 <!ENTITY xpdf-buildsize "32 MB">
[959f944]10 <!ENTITY xpdf-time "0.41 SBU">
11]>
12
[5fd03d2]13<sect1 id="xpdf" xreflabel="Xpdf-&xpdf-version;">
[a0f03b0]14<sect1info>
[5cd0959d]15<othername>$LastChangedBy$</othername>
16<date>$Date$</date>
[a0f03b0]17</sect1info>
[dd3f20f0]18<?dbhtml filename="xpdf.html"?>
[5fd03d2]19<title>Xpdf-&xpdf-version;</title>
20
[959f944]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>
[67f79cec]35<listitem><para>Estimated disk space required:
[959f944]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'>
[67f79cec]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
[4f6275fd]46url="&patch-root;/xpdf-&xpdf-version;-freetype_2.1.7_hack-1.patch"/></para></listitem>
[959f944]47</itemizedlist></sect3>
[b1623c2]48
[959f944]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>
[67f79cec]54<para><xref linkend="gs"/> or <xref linkend="espgs"/> (just the fonts),
[c125cc9]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>
[959f944]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
[67f79cec]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;
[959f944]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
[c125cc9]96<para>In the <filename class='directory'>/etc</filename> directory you will
97find a sample <filename>xpdfrc</filename> that can be either copied to
[959f944]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
[67f79cec]121#psPaperSize A4
[959f944]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>
[5fd03d2]178
179</sect1>
Note: See TracBrowser for help on using the repository browser.