7
The Xpdf software and documentation are
8
copyright 1996-2004 Glyph & Cog, LLC.
10
Email: derekn@foolabs.com
11
WWW: http://www.foolabs.com/xpdf/
13
The PDF data structures, operators, and specification are
14
copyright 1985-2003 Adobe Systems Inc.
20
Xpdf is an open source viewer for Portable Document Format (PDF)
21
files. (These are also sometimes also called 'Acrobat' files, from
22
the name of Adobe's PDF software.) The Xpdf project also includes a
23
PDF text extractor, PDF-to-PostScript converter, and various other
26
Xpdf runs under the X Window System on UNIX, VMS, and OS/2. The non-X
27
components (pdftops, pdftotext, etc.) also run on Win32 systems and
28
should run on pretty much any system with a decent C++ compiler.
30
Xpdf is designed to be small and efficient. It can use Type 1 or
37
Xpdf is licensed under the GNU General Public License (GPL), version
38
2. In my opinion, the GPL is a convoluted, confusing, ambiguous mess.
39
But it's also pervasive, and I'm sick of arguing. And even if it is
40
confusing, the basic idea is good.
42
In order to cut down on the confusion a little bit, here are some
43
informal clarifications:
45
- I don't mind if you redistribute Xpdf in source and/or binary form,
46
as long as you include all of the documentation: README, man pages
47
(or help files), and COPYING. (Note that the README file contains a
48
pointer to a web page with the source code.)
50
- Selling a CD-ROM that contains Xpdf is fine with me, as long as it
51
includes the documentation. I wouldn't mind receiving a sample
52
copy, but it's not necessary.
54
- If you make useful changes to Xpdf, please make the source code
55
available -- post it on a web site, email it to me, whatever.
57
If you're interested in commercial licensing, please see the Glyph &
60
http://www.glyphandcog.com/
66
Xpdf is developed and tested on a Linux 2.4 x86 system.
68
In addition, it has been compiled by others on Solaris, AIX, HP-UX,
69
Digital Unix, Irix, and numerous other Unix implementations, as well
70
as VMS and OS/2. It should work on pretty much any system which runs
71
X11 and has Unix-like libraries. You'll need ANSI C++ and C compilers
74
The non-X components of Xpdf (pdftops, pdftotext, pdfinfo, pdffonts,
75
pdftoppm, and pdfimages) can also be compiled on Win32 systems. See
76
the Xpdf web page for details.
78
If you compile Xpdf for a system not listed on the web page, please
79
let me know. If you're willing to make your binary available by ftp
80
or on the web, I'll be happy to add a link from the Xpdf web page. I
81
have decided not to host any binaries I didn't compile myself (for
82
disk space and support reasons).
84
If you can't get Xpdf to compile on your system, send me email and
87
Xpdf has been ported to the Acorn, Amiga, BeOS, and EPOC. See the
88
Xpdf web page for links.
94
The latest version is available from:
96
http://www.foolabs.com/xpdf/
100
ftp://ftp.foolabs.com/pub/xpdf/
102
Source code and several precompiled executables are available.
104
Announcements of new versions are posted to several newsgroups
105
(comp.text.pdf, comp.os.linux.announce, and others) and emailed to a
106
list of people. If you'd like to receive email notification of new
107
versions, just let me know.
113
To run xpdf, simply type:
117
To generate a PostScript file, hit the "print" button in xpdf, or run
122
To generate a plain text file, run pdftotext:
126
There are four additional utilities (which are fully described in
129
pdfinfo -- dumps a PDF file's Info dictionary (plus some other
131
pdffonts -- lists the fonts used in a PDF file along with various
132
information for each font
133
pdftoppm -- converts a PDF file to a series of PPM/PGM/PBM-format
135
pdfimages -- extracts the images from a PDF file
137
Command line options and many other details are described in the man
138
pages (xpdf.1, etc.) and the VMS help files (xpdf.hlp, etc.).
141
Upgrading from Xpdf 2.xx
142
------------------------
144
WARNING: Xpdf 3.00 switched to a new PDF rasterizer, which no longer
145
uses X fonts. You'll need a set of Base-14 fonts -- the URW fonts
146
distributed with ghostscript can be used for this. Xpdf will search
147
for the URW fonts, but if you have them installed in a non-standard
148
directory, you'll need to set up an xpdfrc config file to point to
149
them. For full details, please see the xpdfrc(5) man page.
155
See the separate file, INSTALL.
161
If you find a bug in Xpdf, i.e., if it prints an error message,
162
crashes, or incorrectly displays a document, and you don't see that
163
bug listed here, please send me email, with a pointer (URL, ftp site,
164
etc.) to the PDF file.
172
* Patrick Voigt for help with the remote server code.
173
* Patrick Moreau, Martin P.J. Zinser, and David Mathog for the VMS
175
* David Boldt and Rick Rodgers for sample man pages.
176
* Brendan Miller for the icon idea.
177
* Olly Betts for help testing pdftotext.
178
* Peter Ganten for the OS/2 port.
179
* Michael Richmond for the Win32 port of pdftops and pdftotext and the
180
xpdf/cygwin/XFree86 build instructions.
181
* Frank M. Siegert for improvements in the PostScript code.
182
* Leo Smiers for the decryption patches.
183
* Rainer Menzner for creating t1lib, and for helping me adapt it to
185
* Pine Tree Systems A/S for funding the OPI and EPS support in
187
* Easy Software Products for funding the "sh" operator support.
188
* Tom Kacvinsky for help with FreeType and for being my interface to
190
* Theppitak Karoonboonyanan for help with Thai support.
191
* Leonard Rosenthol for help and contributions on a bunch of things.
192
* Alexandros Diamantidis and Maria Adaloglou for help with Greek
194
* Lawrence Lai for help with the CJK Unicode maps.
196
Various people have contributed modifications made for use by the
200
* Martin Schr�der of ArtCom GmbH
206
Adobe Systems Inc., _PDF Reference: Adobe Portable Document Format
208
http://partners.adobe.com/asn/tech/pdf/specifications.jsp
209
[The manual for PDF version 1.5.]
211
Adobe Systems Inc., _PostScript Language Reference_, 3rd ed.
212
Addison-Wesley, 1999, ISBN 0-201-37922-8.
213
[The official PostScript manual.]
215
Adobe Systems, Inc., _The Type 42 Font Format Specification_,
216
Adobe Developer Support Technical Specification #5012. 1998.
217
http://partners.adobe.com/asn/developer/pdfs/tn/5012.Type42_Spec.pdf
218
[Type 42 is the format used to embed TrueType fonts in PostScript
221
Adobe Systems, Inc., _Adobe CMap and CIDFont Files Specification_,
222
Adobe Developer Support Technical Specification #5014. 1995.
223
http://www.adobe.com/supportservice/devrelations/PDFS/TN/5014.CIDFont_Spec.pdf
224
[CMap file format needed for Japanese and Chinese font support.]
226
Adobe Systems, Inc., _Adobe-Japan1-4 Character Collection for
227
CID-Keyed Fonts_, Adobe Developer Support Technical Note #5078.
229
http://partners.adobe.com/asn/developer/PDFS/TN/5078.CID_Glyph.pdf
230
[The Adobe Japanese character set.]
232
Adobe Systems, Inc., _Adobe-GB1-4 Character Collection for
233
CID-Keyed Fonts_, Adobe Developer Support Technical Note #5079.
235
http://partners.adobe.com/asn/developer/pdfs/tn/5079.Adobe-GB1-4.pdf
236
[The Adobe Chinese GB (simplified) character set.]
238
Adobe Systems, Inc., _Adobe-CNS1-3 Character Collection for
239
CID-Keyed Fonts_, Adobe Developer Support Technical Note #5080.
241
http://partners.adobe.com/asn/developer/PDFS/TN/5080.CNS_CharColl.pdf
242
[The Adobe Chinese CNS (traditional) character set.]
244
Adobe Systems Inc., _Supporting the DCT Filters in PostScript Level
245
2_, Adobe Developer Support Technical Note #5116. 1992.
246
http://www.adobe.com/supportservice/devrelations/PDFS/TN/5116.PS2_DCT.PDF
247
[Description of the DCTDecode filter parameters.]
249
Adobe Systems Inc., _Open Prepress Interface (OPI) Specification -
250
Version 2.0_, Adobe Developer Support Technical Note #5660. 2000.
251
http://partners.adobe.com/asn/developer/PDFS/TN/5660.OPI_2.0.pdf
253
Adobe Systems Inc., CMap files.
254
ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/
255
[The actual CMap files for the 16-bit CJK encodings.]
257
Adobe Systems Inc., Unicode glyph lists.
258
http://partners.adobe.com/asn/developer/type/unicodegn.html
259
http://partners.adobe.com/asn/developer/type/glyphlist.txt
260
http://partners.adobe.com/asn/developer/type/corporateuse.txt
261
http://partners.adobe.com/asn/developer/type/zapfdingbats.txt
262
[Mappings between character names to Unicode.]
264
Aldus Corp., _OPI: Open Prepress Interface Specification 1.3_. 1993.
265
http://partners.adobe.com/asn/developer/PDFS/TN/OPI_13.pdf
267
Anonymous, RC4 source code.
268
ftp://ftp.ox.ac.uk/pub/crypto/misc/rc4.tar.gz
269
ftp://idea.sec.dsi.unimi.it/pub/crypt/code/rc4.tar.gz
270
[This is the algorithm used to encrypt PDF files.]
272
T. Boutell, et al., "PNG (Portable Network Graphics) Specification,
273
Version 1.0. RFC 2083.
274
[PDF uses the PNG filter algorithms.]
276
CCITT, "Information Technology - Digital Compression and Coding of
277
Continuous-tone Still Images - Requirements and Guidelines", CCITT
279
http://www.w3.org/Graphics/JPEG/
280
[The official JPEG spec.]
282
A. Chernov, "Registration of a Cyrillic Character Set". RFC 1489.
283
[Documentation for the KOI8-R Cyrillic encoding.]
285
Roman Czyborra, "The ISO 8859 Alphabet Soup".
286
http://czyborra.com/charsets/iso8859.html
287
[Documentation on the various ISO 859 encodings.]
289
L. Peter Deutsch, "ZLIB Compressed Data Format Specification version
291
[Information on the general format used in FlateDecode streams.]
293
L. Peter Deutsch, "DEFLATE Compressed Data Format Specification
294
version 1.3". RFC 1951.
295
[The definition of the compression algorithm used in FlateDecode
298
Jim Flowers, "X Logical Font Description Conventions", Version 1.5, X
299
Consortium Standard, X Version 11, Release 6.1.
300
ftp://ftp.x.org/pub/R6.1/xc/doc/hardcopy/XLFD/xlfd.PS.Z
301
[The official specification of X font descriptors, including font
302
transformation matrices.]
304
Foley, van Dam, Feiner, and Hughes, _Computer Graphics: Principles and
305
Practice_, 2nd ed. Addison-Wesley, 1990, ISBN 0-201-12110-7.
306
[Colorspace conversion functions, Bezier spline math.]
308
Robert L. Hummel, _Programmer's Technical Reference: Data and Fax
309
Communications_. Ziff-Davis Press, 1993, ISBN 1-56276-077-7.
310
[CCITT Group 3 and 4 fax decoding.]
312
ISO/IEC, _Information technology -- Lossy/lossless coding of bi-level
313
images_. ISO/IEC 14492, First edition (2001-12-15).
314
http://webstore.ansi.org/
315
[The official JBIG2 standard. The final draft of this spec is
316
available from http://www.jpeg.org/jbighomepage.html.]
318
ISO/IEC, _Information technology -- JPEG 2000 image coding system --
319
Part 1: Core coding system_. ISO/IEC 15444-1, First edition
321
http://webstore.ansi.org/
322
[The official JPEG 2000 standard. The final committee draft of this
323
spec is available from http://www.jpeg.org/JPEG2000.html, but there
324
were changes made to the bitstream format between that draft and the
327
ITU, "Standardization of Group 3 facsimile terminals for document
328
transmission", ITU-T Recommendation T.4, 1999.
329
ITU, "Facsimile coding schemes and coding control functions for Group 4
330
facsimile apparatus", ITU-T Recommendation T.6, 1993.
332
[The official Group 3 and 4 fax standards - used by the CCITTFaxDecode
333
stream, as well as the JBIG2Decode stream.]
335
Christoph Loeffler, Adriaan Ligtenberg, George S. Moschytz, "Practical
336
Fast 1-D DCT Algorithms with 11 Multiplications". IEEE Intl. Conf. on
337
Acoustics, Speech & Signal Processing, 1989, 988-991.
338
[The fast IDCT algorithm used in the DCTDecode filter.]
340
Microsoft, _TrueType 1.0 Font Files_, rev. 1.66. 1995.
341
http://www.microsoft.com/typography/tt/tt.htm
342
[The TrueType font spec (in MS Word format, naturally).]
344
Thai Industrial Standard, "Standard for Thai Character Codes for
345
Computers", TIS-620-2533 (1990).
346
http://www.nectec.or.th/it-standards/std620/std620.htm
347
[The TIS-620 Thai encoding.]
349
P. Peterlin, "ISO 8859-2 (Latin 2) Resources".
350
http://sizif.mf.uni-lj.si/linux/cee/iso8859-2.html
351
[This is a web page with all sorts of useful Latin-2 character set and
354
Charles Poynton, "Color FAQ".
355
http://www.inforamp.net/~poynton/ColorFAQ.html
356
[The mapping from the CIE 1931 (XYZ) color space to RGB.]
358
R. Rivest, "The MD5 Message-Digest Algorithm". RFC 1321.
359
[MD5 is used in PDF document encryption.]
361
Unicode Consortium, "Unicode Home Page".
362
http://www.unicode.org/
363
[Online copy of the Unicode spec.]
365
W3C Recommendation, "PNG (Portable Network Graphics) Specification
367
http://www.w3.org/Graphics/PNG/
368
[Defines the PNG image predictor.]
370
Gregory K. Wallace, "The JPEG Still Picture Compression Standard".
371
ftp://ftp.uu.net/graphics/jpeg/wallace.ps.gz
372
[Good description of the JPEG standard. Also published in CACM, April
373
1991, and submitted to IEEE Transactions on Consumer Electronics.]
375
F. Yergeau, "UTF-8, a transformation format of ISO 10646". RFC 2279.
376
[A commonly used Unicode encoding.]