Comprehensive TeX Archive Network

Direc­tory tex-archive/support/xpdf


version 3.03

The Xpdf software and documentation are
copyright 1996-2011 Glyph & Cog, LLC.

Email: derekn@foolabs.com
WWW: http://www.foolabs.com/xpdf/

The PDF data structures, operators, and specification are
copyright 1985-2006 Adobe Systems Inc.

What is Xpdf?

Xpdf is an open source viewer for Portable Document Format (PDF)
files.  (These are also sometimes also called 'Acrobat' files, from
the name of Adobe's PDF software.)  The Xpdf project also includes a
PDF text extractor, PDF-to-PostScript converter, and various other

Xpdf runs under the X Window System on UNIX, VMS, and OS/2.  The non-X
components (pdftops, pdftotext, etc.) also run on Windows and Mac OSX
systems and should run on pretty much any system with a decent C++
compiler.  Xpdf will run on 32-bit and 64-bit machines.

License & Distribution

Xpdf is licensed under the GNU General Pulbic License (GPL), version 2
or 3.  This means that you can distribute derivatives of Xpdf under
any of the following:
  - GPL v2 only
  - GPL v3 only
  - GPL v2 or v3

The Xpdf source package includes the text of both GPL versions:
COPYING for GPL v2, COPYING3 for GPL v3.

Please note that Xpdf is NOT licensed under "any later version" of the
GPL, as I have no idea what those versions will look like.

If you are redistributing unmodified copies of Xpdf (or any of the
Xpdf tools) in binary form, you need to include all of the
documentation: README, man pages (or help files), COPYING, and

If you want to incorporate the Xpdf source code into another program
(or create a modified version of Xpdf), and you are distributing that
program, you have two options: release your program under the GPL (v2
and/or v3), or purchase a commercial Xpdf source license.

If you're interested in commercial licensing, please see the Glyph &
Cog web site:



Xpdf is developed and tested on Linux.

In addition, it has been compiled by others on Solaris, AIX, HP-UX,
Digital Unix, Irix, and numerous other Unix implementations, as well
as VMS and OS/2.  It should work on pretty much any system which runs
X11 and has Unix-like libraries.  You'll need ANSI C++ and C compilers
to compile it.

The non-X components of Xpdf (pdftops, pdftotext, pdfinfo, pdffonts,
pdfdetach, pdftoppm, and pdfimages) can also be compiled on Windows
and Mac OSX systems.  See the Xpdf web page for details.

If you compile Xpdf for a system not listed on the web page, please
let me know.  If you're willing to make your binary available by ftp
or on the web, I'll be happy to add a link from the Xpdf web page.  I
have decided not to host any binaries I didn't compile myself (for
disk space and support reasons).

If you can't get Xpdf to compile on your system, send me email and
I'll try to help.

Xpdf has been ported to the Acorn, Amiga, BeOS, and EPOC.  See the
Xpdf web page for links.

Getting Xpdf

The latest version is available from:




Source code and several precompiled executables are available.

Announcements of new versions are posted to comp.text.pdf and emailed
to a list of people.  If you'd like to receive email notification of
new versions, just let me know.

Running Xpdf

To run xpdf, simply type:

  xpdf file.pdf

To generate a PostScript file, hit the "print" button in xpdf, or run

  pdftops file.pdf

To generate a plain text file, run pdftotext:

  pdftotext file.pdf

There are five additional utilities (which are fully described in
their man pages):

  pdfinfo -- dumps a PDF file's Info dictionary (plus some other
             useful information)
  pdffonts -- lists the fonts used in a PDF file along with various
              information for each font
  pdfdetach -- lists or extracts embedded files (attachments) from a
               PDF file
  pdftoppm -- converts a PDF file to a series of PPM/PGM/PBM-format
  pdfimages -- extracts the images from a PDF file

Command line options and many other details are described in the man
pages (xpdf(1), etc.) and the VMS help files (xpdf.hlp, etc.).

All of these utilities read an optional configuration file: see the
xpdfrc(5) man page.

Upgrading from Xpdf 3.02 (and earlier)

The font configuration system has been changed.  Previous versions
used mostly separate commands to configure fonts for display and for
PostScript output.  As of 3.03, configuration options that make sense
for both display and PS output have been unified.

The following xpdfrc commands have been removed:
* displayFontT1, displayFontTT: replaced with fontFile
* displayNamedCIDFontT1, displayNamedCIDFontTT: replaced with fontFile
* displayCIDFontT1, displayCIDFontTT: replaced with fontFileCC
* psFont: replaced with psResidentFont
* psNamedFont16: replaced with psResidentFont16
* psFont16: replaced with psResidentFontCC

See the xpdfrc(5) man page for more information on the new commands.

Pdftops will now embed external 16-bit fonts (configured with the
fontFileCC command) when the PDF file refers to a non-embedded font.
It does not do any subsetting (yet), so the resulting PS files will be

Compiling Xpdf

See the separate file, INSTALL.


If you find a bug in Xpdf, i.e., if it prints an error message,
crashes, or incorrectly displays a document, and you don't see that
bug listed here, please send me email, with a pointer (URL, ftp site,
etc.) to the PDF file.


Thanks to:

* Patrick Voigt for help with the remote server code.
* Patrick Moreau, Martin P.J. Zinser, and David Mathog for the VMS
* David Boldt and Rick Rodgers for sample man pages.
* Brendan Miller for the icon idea.
* Olly Betts for help testing pdftotext.
* Peter Ganten for the OS/2 port.
* Michael Richmond for the Win32 port of pdftops and pdftotext and the
  xpdf/cygwin/XFree86 build instructions.
* Frank M. Siegert for improvements in the PostScript code.
* Leo Smiers for the decryption patches.
* Rainer Menzner for creating t1lib, and for helping me adapt it to
* Pine Tree Systems A/S for funding the OPI and EPS support in
* Easy Software Products for funding several improvements to the
  PostScript output code.
* Tom Kacvinsky for help with FreeType and for being my interface to
  the FreeType team.
* Theppitak Karoonboonyanan for help with Thai support.
* Leonard Rosenthol for help and contributions on a bunch of things.
* Alexandros Diamantidis and Maria Adaloglou for help with Greek
* Lawrence Lai for help with the CJK Unicode maps.

Various people have contributed modifications made for use by the
pdftex project:

* Han The Thanh
* Martin Schr�der of ArtCom GmbH


Adobe Systems Inc., _PDF Reference, sixth edition: Adobe Portable
Document Format version 1.7_.
[The manual for PDF version 1.7.]

Adobe Systems Inc., "Errata for the PDF Reference, sixth edition,
version 1.7", October 16, 2006.
[The errata for the PDF 1.7 spec.]

Adobe Systems Inc., _PostScript Language Reference_, 3rd ed.
Addison-Wesley, 1999, ISBN 0-201-37922-8.
[The official PostScript manual.]

Adobe Systems, Inc., _The Type 42 Font Format Specification_,
Adobe Developer Support Technical Specification #5012.  1998.
[Type 42 is the format used to embed TrueType fonts in PostScript

Adobe Systems, Inc., _Adobe CMap and CIDFont Files Specification_,
Adobe Developer Support Technical Specification #5014.  1995.
[CMap file format needed for Japanese and Chinese font support.]

Adobe Systems, Inc., _Adobe-Japan1-4 Character Collection for
CID-Keyed Fonts_, Adobe Developer Support Technical Note #5078.
[The Adobe Japanese character set.]

Adobe Systems, Inc., _Adobe-GB1-4 Character Collection for
CID-Keyed Fonts_, Adobe Developer Support Technical Note #5079.
[The Adobe Chinese GB (simplified) character set.]

Adobe Systems, Inc., _Adobe-CNS1-3 Character Collection for
CID-Keyed Fonts_, Adobe Developer Support Technical Note #5080.
[The Adobe Chinese CNS (traditional) character set.]

Adobe Systems Inc., _Supporting the DCT Filters in PostScript Level
2_, Adobe Developer Support Technical Note #5116.  1992.
[Description of the DCTDecode filter parameters.]

Adobe Systems Inc., _Open Prepress Interface (OPI) Specification -
Version 2.0_, Adobe Developer Support Technical Note #5660.  2000.

Adobe Systems Inc., CMap files.
[The actual CMap files for the 16-bit CJK encodings.]

Adobe Systems Inc., Unicode glyph lists.
[Mappings between character names to Unicode.]

Adobe Systems Inc., OpenType Specification v. 1.4.
[The OpenType font format spec.]

Aldus Corp., _OPI: Open Prepress Interface Specification 1.3_.  1993.

Anonymous, RC4 source code.
[This is the algorithm used to encrypt PDF files.]

T. Boutell, et al., "PNG (Portable Network Graphics) Specification,
Version 1.0".  RFC 2083.
[PDF uses the PNG filter algorithms.]

CCITT, "Information Technology - Digital Compression and Coding of
Continuous-tone Still Images - Requirements and Guidelines", CCITT
Recommendation T.81.
[The official JPEG spec.]

A. Chernov, "Registration of a Cyrillic Character Set".  RFC 1489.
[Documentation for the KOI8-R Cyrillic encoding.]

Roman Czyborra, "The ISO 8859 Alphabet Soup".
[Documentation on the various ISO 859 encodings.]

L. Peter Deutsch, "ZLIB Compressed Data Format Specification version
3.3".  RFC 1950.
[Information on the general format used in FlateDecode streams.]

L. Peter Deutsch, "DEFLATE Compressed Data Format Specification
version 1.3".  RFC 1951.
[The definition of the compression algorithm used in FlateDecode

Morris Dworkin, "Recommendation for Block Cipher Modes of Operation",
National Institute of Standards, NIST Special Publication 800-38A,
[The cipher block chaining (CBC) mode used with AES in PDF files.]

Federal Information Processing Standards Publication 197 (FIPS PUBS
197), "Advanced Encryption Standard (AES)", November 26, 2001.
[AES encryption, used in PDF 1.6.]

Jim Flowers, "X Logical Font Description Conventions", Version 1.5, X
Consortium Standard, X Version 11, Release 6.1.
[The official specification of X font descriptors, including font
transformation matrices.]

Foley, van Dam, Feiner, and Hughes, _Computer Graphics: Principles and
Practice_, 2nd ed.  Addison-Wesley, 1990, ISBN 0-201-12110-7.
[Colorspace conversion functions, Bezier spline math.]

Robert L. Hummel, _Programmer's Technical Reference: Data and Fax
Communications_.  Ziff-Davis Press, 1993, ISBN 1-56276-077-7.
[CCITT Group 3 and 4 fax decoding.]

ISO/IEC, _Information technology -- Lossy/lossless coding of bi-level
images_.  ISO/IEC 14492, First edition (2001-12-15).
[The official JBIG2 standard.  The final draft of this spec is
available from http://www.jpeg.org/jbighomepage.html.]

ISO/IEC, _Information technology -- JPEG 2000 image coding system --
Part 1: Core coding system_.  ISO/IEC 15444-1, First edition
[The official JPEG 2000 standard.  The final committee draft of this
spec is available from http://www.jpeg.org/JPEG2000.html, but there
were changes made to the bitstream format between that draft and the
published spec.]

ITU, "Standardization of Group 3 facsimile terminals for document
transmission", ITU-T Recommendation T.4, 1999.
ITU, "Facsimile coding schemes and coding control functions for Group 4
facsimile apparatus", ITU-T Recommendation T.6, 1993.
[The official Group 3 and 4 fax standards - used by the CCITTFaxDecode
stream, as well as the JBIG2Decode stream.]

B. Kaliski, "PKCS #5: Password-Based Cryptography Specification,
Version 2.0".  RFC 2898.
[Defines the padding scheme used with AES encryption in PDF files.]

Christoph Loeffler, Adriaan Ligtenberg, George S. Moschytz, "Practical
Fast 1-D DCT Algorithms with 11 Multiplications".  IEEE Intl. Conf. on
Acoustics, Speech & Signal Processing, 1989, 988-991.
[The fast IDCT algorithm used in the DCTDecode filter.]

Microsoft, _TrueType 1.0 Font Files_, rev. 1.66.  1995.
[The TrueType font spec (in MS Word format, naturally).]

V. Ostromoukhov, R.D. Hersch, "Stochastic Clustered-Dot Dithering",
Conf. Color Imaging: Device-Independent Color, Color Hardcopy, and
Graphic Arts IV, 1999, SPIE Vol. 3648, 496-505.
[The stochastic dithering algorithm used in Xpdf.]

P. Peterlin, "ISO 8859-2 (Latin 2) Resources".
[This is a web page with all sorts of useful Latin-2 character set and
font information.]

Charles Poynton, "Color FAQ".
[The mapping from the CIE 1931 (XYZ) color space to RGB.]

R. Rivest, "The MD5 Message-Digest Algorithm".  RFC 1321.
[MD5 is used in PDF document encryption.]

Thai Industrial Standard, "Standard for Thai Character Codes for
Computers", TIS-620-2533 (1990).
[The TIS-620 Thai encoding.]

Unicode Consortium, "Unicode Home Page".
[Online copy of the Unicode spec.]

W3C Recommendation, "PNG (Portable Network Graphics) Specification
Version 1.0".
[Defines the PNG image predictor.]

Gregory K. Wallace, "The JPEG Still Picture Compression Standard".
[Good description of the JPEG standard.  Also published in CACM, April
1991, and submitted to IEEE Transactions on Consumer Electronics.]

F. Yergeau, "UTF-8, a transformation format of ISO 10646".  RFC 2279.
[A commonly used Unicode encoding.]


Name Size Date Notes
CHANGES 105717 2011-08-16 22:47
README 15140 2011-08-16 22:47
xpdf-3.04.tar.gz 825519 2014-05-28 22:08
xpdf-3.04.tar.gz.sig 181 2014-05-28 22:08
xpdf-ara­bic-2011-aug-15.tar.gz 1057 2011-08-15 22:28
1057 2011-08-15 22:28 ⇒ /sup­port/xpdf/xpdf-ara­bic-2011-aug-15.tar.gz
xpdf-chi­nese-sim­pli­fied-2011-sep-02.tar.gz 907207 2011-09-02 23:29
907207 2011-09-02 23:29 ⇒ /sup­port/xpdf/xpdf-chi­nese-sim­pli­fied-2011-sep-02.tar.gz
xpdf-chi­nese-tra­di­tional-2011-sep-02.tar.gz 913558 2011-09-02 23:29
913558 2011-09-02 23:29 ⇒ /sup­port/xpdf/xpdf-chi­nese-tra­di­tional-2011-sep-02.tar.gz
825519 2014-05-28 22:08 ⇒ /sup­port/xpdf/xpdf-3.04.tar.gz
xpdf-cyril­lic-2011-aug-15.tar.gz 1656 2011-08-15 22:28
1656 2011-08-15 22:28 ⇒ /sup­port/xpdf/xpdf-cyril­lic-2011-aug-15.tar.gz
xpdf-greek-2011-aug-15.tar.gz 1259 2011-08-15 22:28
1259 2011-08-15 22:28 ⇒ /sup­port/xpdf/xpdf-greek-2011-aug-15.tar.gz
xpdf-he­brew-2011-aug-15.tar.gz 1317 2011-08-15 22:28
1317 2011-08-15 22:28 ⇒ /sup­port/xpdf/xpdf-he­brew-2011-aug-15.tar.gz
xpdf-japanese-2011-sep-02.tar.gz 1006949 2011-09-02 23:30
1006949 2011-09-02 23:30 ⇒ /sup­port/xpdf/xpdf-japanese-2011-sep-02.tar.gz
xpdf-ko­rean-2011-sep-02.tar.gz 518995 2011-09-02 23:30
518995 2011-09-02 23:30 ⇒ /sup­port/xpdf/xpdf-ko­rean-2011-sep-02.tar.gz
xpdf-lat­in2-2011-aug-15.tar.gz 1431 2011-08-15 22:28
1431 2011-08-15 22:28 ⇒ /sup­port/xpdf/xpdf-lat­in2-2011-aug-15.tar.gz
xpdf-t1­fonts.tar.gz 81443 2012-10-10 22:15
xpdf-thai-2011-aug-15.tar.gz 1878 2011-08-15 22:28
1878 2011-08-15 22:28 ⇒ /sup­port/xpdf/xpdf-thai-2011-aug-15.tar.gz
xpdf-turk­ish-2011-aug-15.tar.gz 1137 2011-08-15 22:28
1137 2011-08-15 22:28 ⇒ /sup­port/xpdf/xpdf-turk­ish-2011-aug-15.tar.gz
xpdf­bin-linux-3.04.tar.gz 25295651 2014-05-28 22:07
xpdf­bin-linux-3.04.tar.gz.sig 181 2014-05-28 22:07
xpdf­bin-mac-3.04.tar.gz 13332242 2014-07-10 23:50
xpdf­bin-mac-3.04.tar.gz.sig 181 2014-07-10 23:52
xpdf­bin-win-3.04.zip 10794993 2014-05-28 22:08
xpdf­bin-win-3.04.zip.sig 181 2014-05-28 22:08

xpdf – View­ing and ma­nip­u­lat­ing PDF files

Xpdf is an open source viewer for Portable Doc­u­ment For­mat (PDF) files. The Xpdf dis­tri­bu­tion also in­cludes a PDF text ex­trac­tor, PDF-to-PostScript con­verter, and var­i­ous other util­i­ties. Xpdf runs un­der the X Win­dow Sys­tem on UNIX, VMS, and OS/2. The non-X com­po­nents (pdftops, pdfto­text, etc.) also run on Win32 sys­tems and should run on pretty much any sys­tem with a de­cent C++ com­piler. Xpdf is de­signed to be small and ef­fi­cient. It can use Type 1, TrueType, or stan­dard X fonts.

Pack­age De­tailsxpdf
Home pagehttp://www.foolabs.com/xpdf/
Li­censeGNU Gen­eral Public Li­cense
Copy­right1996–2007 Glyph & Cog, LLC
Main­tainerDerek B Noon­burg
Topics ap­pli­ca­tion for view­ing a type­set doc­u­ment on screen
Guest Book Sitemap Contact