• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..25-Mar-2015-

doc/H18-Jun-2014-5,4234,679

fofi/H18-Jun-2014-8,2346,983

goo/H09-May-2015-3,8612,938

misc/H03-May-2022-2925

splash/H18-Jun-2014-13,16910,254

xpdf/H03-May-2022-98,28482,764

ANNOUNCEH A D18-Jun-20141.1 KiB3423

CHANGESH A D18-Jun-2014111.8 KiB2,3242,283

COPYINGH A D20-Mar-200917.6 KiB340281

COPYING3H A D22-Aug-201134.3 KiB675553

INSTALLH A D18-Jun-20145.2 KiB197134

Makefile.inH A D18-Jun-20143.9 KiB135107

READMEH A D18-Jun-201415 KiB433323

aclocal.m4H A D26-Feb-201310.2 KiB275235

aconf-dj.hH A D18-Jun-20141.1 KiB7426

aconf-win32.hH A D18-Jun-20141.7 KiB11340

aconf.h.inH A D18-Jun-20141.6 KiB10889

aconf2.hH A D18-Jun-2014755 3214

configureH A D18-Jun-2014249.8 KiB9,3877,500

configure.inH A D18-Jun-201411.8 KiB399359

dj_make.batH A D18-Jun-20142.9 KiB9280

ms_make.batH A D18-Jun-201410.4 KiB135117

README

1Xpdf
2====
3
4version 3.04
52014-may-28
6
7The Xpdf software and documentation are
8copyright 1996-2014 Glyph & Cog, LLC.
9
10Email: derekn@foolabs.com
11WWW: http://www.foolabs.com/xpdf/
12
13The PDF data structures, operators, and specification are
14copyright 1985-2006 Adobe Systems Inc.
15
16
17What is Xpdf?
18-------------
19
20Xpdf is an open source viewer for Portable Document Format (PDF)
21files.  (These are also sometimes also called 'Acrobat' files, from
22the name of Adobe's PDF software.)  The Xpdf project also includes a
23PDF text extractor, PDF-to-PostScript converter, and various other
24utilities.
25
26Xpdf runs under the X Window System on UNIX and OS/2.  The non-X
27components (pdftops, pdftotext, etc.) also run on Windows and Mac OSX
28systems and should run on pretty much any system with a decent C++
29compiler.  Xpdf will run on 32-bit and 64-bit machines.
30
31
32License & Distribution
33----------------------
34
35Xpdf is licensed under the GNU General Pulbic License (GPL), version 2
36or 3.  This means that you can distribute derivatives of Xpdf under
37any of the following:
38  - GPL v2 only
39  - GPL v3 only
40  - GPL v2 or v3
41
42The Xpdf source package includes the text of both GPL versions:
43COPYING for GPL v2, COPYING3 for GPL v3.
44
45Please note that Xpdf is NOT licensed under "any later version" of the
46GPL, as I have no idea what those versions will look like.
47
48If you are redistributing unmodified copies of Xpdf (or any of the
49Xpdf tools) in binary form, you need to include all of the
50documentation: README, man pages (or help files), COPYING, and
51COPYING3.
52
53If you want to incorporate the Xpdf source code into another program
54(or create a modified version of Xpdf), and you are distributing that
55program, you have two options: release your program under the GPL (v2
56and/or v3), or purchase a commercial Xpdf source license.
57
58If you're interested in commercial licensing, please see the Glyph &
59Cog web site:
60
61    http://www.glyphandcog.com/
62
63
64Compatibility
65-------------
66
67Xpdf is developed and tested on Linux.
68
69In addition, it has been compiled by others on Solaris, AIX, HP-UX,
70Digital Unix, Irix, and numerous other Unix implementations, as well
71as OS/2.  It should work on pretty much any system which runs X11 and
72has Unix-like libraries.  You'll need ANSI C++ and C compilers to
73compile it.
74
75The non-X components of Xpdf (pdftops, pdftotext, pdfinfo, pdffonts,
76pdfdetach, pdftoppm, and pdfimages) can also be compiled on Windows
77and Mac OSX systems.  See the Xpdf web page for details.
78
79If you compile Xpdf for a system not listed on the web page, please
80let me know.  If you're willing to make your binary available by ftp
81or on the web, I'll be happy to add a link from the Xpdf web page.  I
82have decided not to host any binaries I didn't compile myself (for
83disk space and support reasons).
84
85If you can't get Xpdf to compile on your system, send me email and
86I'll try to help.
87
88Xpdf has been ported to the Acorn, Amiga, BeOS, and EPOC.  See the
89Xpdf web page for links.
90
91
92Getting Xpdf
93------------
94
95The latest version is available from:
96
97  http://www.foolabs.com/xpdf/
98
99or:
100
101  ftp://ftp.foolabs.com/pub/xpdf/
102
103Source code and several precompiled executables are available.
104
105Announcements of new versions are posted to comp.text.pdf and emailed
106to a list of people.  If you'd like to receive email notification of
107new versions, just let me know.
108
109
110Running Xpdf
111------------
112
113To run xpdf, simply type:
114
115  xpdf file.pdf
116
117To generate a PostScript file, hit the "print" button in xpdf, or run
118pdftops:
119
120  pdftops file.pdf
121
122To generate a plain text file, run pdftotext:
123
124  pdftotext file.pdf
125
126There are five additional utilities (which are fully described in
127their man pages):
128
129  pdfinfo -- dumps a PDF file's Info dictionary (plus some other
130             useful information)
131  pdffonts -- lists the fonts used in a PDF file along with various
132              information for each font
133  pdfdetach -- lists or extracts embedded files (attachments) from a
134               PDF file
135  pdftoppm -- converts a PDF file to a series of PPM/PGM/PBM-format
136              bitmaps
137  pdfimages -- extracts the images from a PDF file
138
139Command line options and many other details are described in the man
140pages: xpdf(1), etc.
141
142All of these utilities read an optional configuration file: see the
143xpdfrc(5) man page.
144
145
146Upgrading from Xpdf 3.02 (and earlier)
147--------------------------------------
148
149The font configuration system has been changed.  Previous versions
150used mostly separate commands to configure fonts for display and for
151PostScript output.  As of 3.03, configuration options that make sense
152for both display and PS output have been unified.
153
154The following xpdfrc commands have been removed:
155* displayFontT1, displayFontTT: replaced with fontFile
156* displayNamedCIDFontT1, displayNamedCIDFontTT: replaced with fontFile
157* displayCIDFontT1, displayCIDFontTT: replaced with fontFileCC
158* psFont: replaced with psResidentFont
159* psNamedFont16: replaced with psResidentFont16
160* psFont16: replaced with psResidentFontCC
161
162See the xpdfrc(5) man page for more information on the new commands.
163
164Pdftops will now embed external 16-bit fonts (configured with the
165fontFileCC command) when the PDF file refers to a non-embedded font.
166It does not do any subsetting (yet), so the resulting PS files will be
167large.
168
169
170Compiling Xpdf
171--------------
172
173See the separate file, INSTALL.
174
175
176Bugs
177----
178
179If you find a bug in Xpdf, i.e., if it prints an error message,
180crashes, or incorrectly displays a document, and you don't see that
181bug listed here, please send me email, with a pointer (URL, ftp site,
182etc.) to the PDF file.
183
184
185Third-Party Libraries
186---------------------
187
188Xpdf uses the following libraries:
189* FreeType [http://www.freetype.org/]
190* libpng [http://www.libpng.com/pub/png/libpng.html] (used by pdftohtml)
191* zlib [http://zlib.net/] (used by pdftohtml)
192
193
194Acknowledgments
195---------------
196
197Thanks to:
198
199* Patrick Voigt for help with the remote server code.
200* Patrick Moreau, Martin P.J. Zinser, and David Mathog for the VMS
201  port.
202* David Boldt and Rick Rodgers for sample man pages.
203* Brendan Miller for the icon idea.
204* Olly Betts for help testing pdftotext.
205* Peter Ganten for the OS/2 port.
206* Michael Richmond for the Win32 port of pdftops and pdftotext and the
207  xpdf/cygwin/XFree86 build instructions.
208* Frank M. Siegert for improvements in the PostScript code.
209* Leo Smiers for the decryption patches.
210* Rainer Menzner for creating t1lib, and for helping me adapt it to
211  xpdf.
212* Pine Tree Systems A/S for funding the OPI and EPS support in
213  pdftops.
214* Easy Software Products for funding several improvements to the
215  PostScript output code.
216* Tom Kacvinsky for help with FreeType and for being my interface to
217  the FreeType team.
218* Theppitak Karoonboonyanan for help with Thai support.
219* Leonard Rosenthol for help and contributions on a bunch of things.
220* Alexandros Diamantidis and Maria Adaloglou for help with Greek
221  support.
222* Lawrence Lai for help with the CJK Unicode maps.
223
224Various people have contributed modifications made for use by the
225pdftex project:
226
227* Han The Thanh
228* Martin Schr�der of ArtCom GmbH
229
230
231References
232----------
233
234Adobe Systems Inc., _PDF Reference, sixth edition: Adobe Portable
235Document Format version 1.7_.
236http://www.adobe.com/devnet/pdf/pdf_reference.html
237[The manual for PDF version 1.7.]
238
239Adobe Systems Inc., "Errata for the PDF Reference, sixth edition,
240version 1.7", October 16, 2006.
241http://www.adobe.com/devnet/pdf/pdf_reference.html
242[The errata for the PDF 1.7 spec.]
243
244Adobe Systems Inc., _PostScript Language Reference_, 3rd ed.
245Addison-Wesley, 1999, ISBN 0-201-37922-8.
246[The official PostScript manual.]
247
248Adobe Systems, Inc., _The Type 42 Font Format Specification_,
249Adobe Developer Support Technical Specification #5012.  1998.
250http://partners.adobe.com/asn/developer/pdfs/tn/5012.Type42_Spec.pdf
251[Type 42 is the format used to embed TrueType fonts in PostScript
252files.]
253
254Adobe Systems, Inc., _Adobe CMap and CIDFont Files Specification_,
255Adobe Developer Support Technical Specification #5014.  1995.
256http://www.adobe.com/supportservice/devrelations/PDFS/TN/5014.CIDFont_Spec.pdf
257[CMap file format needed for Japanese and Chinese font support.]
258
259Adobe Systems, Inc., _Adobe-Japan1-4 Character Collection for
260CID-Keyed Fonts_, Adobe Developer Support Technical Note #5078.
2612000.
262http://partners.adobe.com/asn/developer/PDFS/TN/5078.CID_Glyph.pdf
263[The Adobe Japanese character set.]
264
265Adobe Systems, Inc., _Adobe-GB1-4 Character Collection for
266CID-Keyed Fonts_, Adobe Developer Support Technical Note #5079.
2672000.
268http://partners.adobe.com/asn/developer/pdfs/tn/5079.Adobe-GB1-4.pdf
269[The Adobe Chinese GB (simplified) character set.]
270
271Adobe Systems, Inc., _Adobe-CNS1-3 Character Collection for
272CID-Keyed Fonts_, Adobe Developer Support Technical Note #5080.
2732000.
274http://partners.adobe.com/asn/developer/PDFS/TN/5080.CNS_CharColl.pdf
275[The Adobe Chinese CNS (traditional) character set.]
276
277Adobe Systems Inc., _Supporting the DCT Filters in PostScript Level
2782_, Adobe Developer Support Technical Note #5116.  1992.
279http://www.adobe.com/supportservice/devrelations/PDFS/TN/5116.PS2_DCT.PDF
280[Description of the DCTDecode filter parameters.]
281
282Adobe Systems Inc., _Open Prepress Interface (OPI) Specification -
283Version 2.0_, Adobe Developer Support Technical Note #5660.  2000.
284http://partners.adobe.com/asn/developer/PDFS/TN/5660.OPI_2.0.pdf
285
286Adobe Systems Inc., CMap files.
287ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/
288[The actual CMap files for the 16-bit CJK encodings.]
289
290Adobe Systems Inc., Unicode glyph lists.
291http://partners.adobe.com/asn/developer/type/unicodegn.html
292http://partners.adobe.com/asn/developer/type/glyphlist.txt
293http://partners.adobe.com/asn/developer/type/corporateuse.txt
294http://partners.adobe.com/asn/developer/type/zapfdingbats.txt
295[Mappings between character names to Unicode.]
296
297Adobe Systems Inc., OpenType Specification v. 1.4.
298http://partners.adobe.com/public/developer/opentype/index_spec.html
299[The OpenType font format spec.]
300
301Aldus Corp., _OPI: Open Prepress Interface Specification 1.3_.  1993.
302http://partners.adobe.com/asn/developer/PDFS/TN/OPI_13.pdf
303
304Anonymous, RC4 source code.
305ftp://ftp.ox.ac.uk/pub/crypto/misc/rc4.tar.gz
306ftp://idea.sec.dsi.unimi.it/pub/crypt/code/rc4.tar.gz
307[This is the algorithm used to encrypt PDF files.]
308
309T. Boutell, et al., "PNG (Portable Network Graphics) Specification,
310Version 1.0".  RFC 2083.
311[PDF uses the PNG filter algorithms.]
312
313CCITT, "Information Technology - Digital Compression and Coding of
314Continuous-tone Still Images - Requirements and Guidelines", CCITT
315Recommendation T.81.
316http://www.w3.org/Graphics/JPEG/
317[The official JPEG spec.]
318
319A. Chernov, "Registration of a Cyrillic Character Set".  RFC 1489.
320[Documentation for the KOI8-R Cyrillic encoding.]
321
322Roman Czyborra, "The ISO 8859 Alphabet Soup".
323http://czyborra.com/charsets/iso8859.html
324[Documentation on the various ISO 859 encodings.]
325
326L. Peter Deutsch, "ZLIB Compressed Data Format Specification version
3273.3".  RFC 1950.
328[Information on the general format used in FlateDecode streams.]
329
330L. Peter Deutsch, "DEFLATE Compressed Data Format Specification
331version 1.3".  RFC 1951.
332[The definition of the compression algorithm used in FlateDecode
333streams.]
334
335Morris Dworkin, "Recommendation for Block Cipher Modes of Operation",
336National Institute of Standards, NIST Special Publication 800-38A,
3372001.
338[The cipher block chaining (CBC) mode used with AES in PDF files.]
339
340Federal Information Processing Standards Publication 197 (FIPS PUBS
341197), "Advanced Encryption Standard (AES)", November 26, 2001.
342[AES encryption, used in PDF 1.6.]
343
344Jim Flowers, "X Logical Font Description Conventions", Version 1.5, X
345Consortium Standard, X Version 11, Release 6.1.
346ftp://ftp.x.org/pub/R6.1/xc/doc/hardcopy/XLFD/xlfd.PS.Z
347[The official specification of X font descriptors, including font
348transformation matrices.]
349
350Foley, van Dam, Feiner, and Hughes, _Computer Graphics: Principles and
351Practice_, 2nd ed.  Addison-Wesley, 1990, ISBN 0-201-12110-7.
352[Colorspace conversion functions, Bezier spline math.]
353
354Robert L. Hummel, _Programmer's Technical Reference: Data and Fax
355Communications_.  Ziff-Davis Press, 1993, ISBN 1-56276-077-7.
356[CCITT Group 3 and 4 fax decoding.]
357
358ISO/IEC, _Information technology -- Lossy/lossless coding of bi-level
359images_.  ISO/IEC 14492, First edition (2001-12-15).
360http://webstore.ansi.org/
361[The official JBIG2 standard.  The final draft of this spec is
362available from http://www.jpeg.org/jbighomepage.html.]
363
364ISO/IEC, _Information technology -- JPEG 2000 image coding system --
365Part 1: Core coding system_.  ISO/IEC 15444-1, First edition
366(2000-12-15).
367http://webstore.ansi.org/
368[The official JPEG 2000 standard.  The final committee draft of this
369spec is available from http://www.jpeg.org/JPEG2000.html, but there
370were changes made to the bitstream format between that draft and the
371published spec.]
372
373ITU, "Standardization of Group 3 facsimile terminals for document
374transmission", ITU-T Recommendation T.4, 1999.
375ITU, "Facsimile coding schemes and coding control functions for Group 4
376facsimile apparatus", ITU-T Recommendation T.6, 1993.
377http://www.itu.int/
378[The official Group 3 and 4 fax standards - used by the CCITTFaxDecode
379stream, as well as the JBIG2Decode stream.]
380
381B. Kaliski, "PKCS #5: Password-Based Cryptography Specification,
382Version 2.0".  RFC 2898.
383[Defines the padding scheme used with AES encryption in PDF files.]
384
385Christoph Loeffler, Adriaan Ligtenberg, George S. Moschytz, "Practical
386Fast 1-D DCT Algorithms with 11 Multiplications".  IEEE Intl. Conf. on
387Acoustics, Speech & Signal Processing, 1989, 988-991.
388[The fast IDCT algorithm used in the DCTDecode filter.]
389
390Microsoft, _TrueType 1.0 Font Files_, rev. 1.66.  1995.
391http://www.microsoft.com/typography/tt/tt.htm
392[The TrueType font spec (in MS Word format, naturally).]
393
394V. Ostromoukhov, R.D. Hersch, "Stochastic Clustered-Dot Dithering",
395Conf. Color Imaging: Device-Independent Color, Color Hardcopy, and
396Graphic Arts IV, 1999, SPIE Vol. 3648, 496-505.
397http://diwww.epfl.ch/w3lsp/publications/colour/scd.html
398[The stochastic dithering algorithm used in Xpdf.]
399
400P. Peterlin, "ISO 8859-2 (Latin 2) Resources".
401http://sizif.mf.uni-lj.si/linux/cee/iso8859-2.html
402[This is a web page with all sorts of useful Latin-2 character set and
403font information.]
404
405Charles Poynton, "Color FAQ".
406http://www.inforamp.net/~poynton/ColorFAQ.html
407[The mapping from the CIE 1931 (XYZ) color space to RGB.]
408
409R. Rivest, "The MD5 Message-Digest Algorithm".  RFC 1321.
410[MD5 is used in PDF document encryption.]
411
412Thai Industrial Standard, "Standard for Thai Character Codes for
413Computers", TIS-620-2533 (1990).
414http://www.nectec.or.th/it-standards/std620/std620.htm
415[The TIS-620 Thai encoding.]
416
417Unicode Consortium, "Unicode Home Page".
418http://www.unicode.org/
419[Online copy of the Unicode spec.]
420
421W3C Recommendation, "PNG (Portable Network Graphics) Specification
422Version 1.0".
423http://www.w3.org/Graphics/PNG/
424[Defines the PNG image predictor.]
425
426Gregory K. Wallace, "The JPEG Still Picture Compression Standard".
427ftp://ftp.uu.net/graphics/jpeg/wallace.ps.gz
428[Good description of the JPEG standard.  Also published in CACM, April
4291991, and submitted to IEEE Transactions on Consumer Electronics.]
430
431F. Yergeau, "UTF-8, a transformation format of ISO 10646".  RFC 2279.
432[A commonly used Unicode encoding.]
433