Xpdf is a
free and open-source PDF viewer for operating systems supported by the
Qt toolkit.
Versions prior to 4.00 were written for the
X Window System
The X Window System (X11, or simply X) is a windowing system for bitmap displays, common on Unix-like operating systems.
X provides the basic framework for a GUI environment: drawing and moving windows on the display device and interacting wi ...
and
Motif.
Functions
Xpdf runs on nearly any
Unix-like
A Unix-like (sometimes referred to as UN*X or *nix) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-li ...
operating system
An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs.
Time-sharing operating systems schedule tasks for efficient use of the system and may also i ...
. Binaries are also available for
Windows
Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ser ...
. Xpdf can decode
LZW and read encrypted PDFs. The official version obeys the
DRM
DRM may refer to:
Government, military and politics
* Defense reform movement, U.S. campaign inspired by Col. John Boyd
* Democratic Republic of Madagascar, a former socialist state (1975–1992) on Madagascar
* Direction du renseignement milita ...
restrictions of PDF files, which can prevent copying, printing, or converting some PDF files.
There are patches that make Xpdf ignore these DRM restrictions, and these restrictions are patched out by the
Debian distribution.
Xpdf includes several programs that don't need an X Window System, including some that extract images from PDF files or convert PDF to
PostScript or text. These programs run on
DOS
DOS is shorthand for the MS-DOS and IBM PC DOS family of operating systems.
DOS may also refer to:
Computing
* Data over signalling (DoS), multiplexing data onto a signalling channel
* Denial-of-service attack (DoS), an attack on a communicat ...
, Windows,
Linux
Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, w ...
and
Unix
Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, an ...
.
Xpdf is also used as a back-end for other PDF readers frontends such as
KPDF and GPDF,
and its engine, without the X11 display components, is used for PDF viewers including
BePDF
BePDF is a free software PDF reader for Haiku (operating system), Haiku, BeOS, and magnussoft ZETA. It is based on Xpdf. It was added in Haiku R1 alpha 1 as its sole PDF reader.
The source code for BePDF is available via GitHub after a migratio ...
on
BeOS, '!PDF' on
RISC OS
RISC OS is a computer operating system originally designed by Acorn Computers Ltd in Cambridge, England. First released in 1987, it was designed to run on the ARM chipset, which Acorn had designed concurrently for use in its new line of Archi ...
, on PalmPDF on
Palm OS
Palm OS (also known as Garnet OS) was a mobile operating system initially developed by Palm, Inc., for personal digital assistants (PDAs) in 1996. Palm OS was designed for ease of use with a touchscreen-based graphical user interface. It is pro ...
and on Windows Mobile.
Two versions exist for
AmigaOS
AmigaOS is a family of proprietary native operating systems of the Amiga and AmigaOne personal computers. It was developed first by Commodore International and introduced with the launch of the first Amiga, the Amiga 1000, in 1985. Early versions ...
. Xpdf needs a limited version of an X11 engine called
Cygnix
Cygwin ( ) is a POSIX-compatible programming and runtime environment that runs natively on Microsoft Windows. Under Cygwin, source code designed for Unix-like operating systems may be compiled with minimal modification and executed.
The Cygwin in ...
on the host system.
AmigaOS 4
AmigaOS 4 (abbreviated as OS4 or AOS4) is a line of Amiga operating systems which runs on PowerPC microprocessors. It is mainly based on AmigaOS 3.1 source code developed by Commodore, and partially on version 3.9 developed by Haage & Partne ...
included
AmiPDF, a PDF viewer based on 3.01 version of the Xpdf. However both Apdf and AmiPDF are native and need no X11.
xpdf-utils
The associated package "xpdf-utils" or "poppler-utils" contains tools such as
pdftotext
pdftotext is an Open-source license, open-source command-line utility for converting PDF files to plain text files—i.e. extracting text data from PDF-encapsulated files. It is freely available and included by default with many Linux Linux d ...
and
pdfimages
pdfimages is an open-source command-line utility for lossless extraction of images from PDF files, including JPEG2000 and JBIG2 format when used with option -all. It is freely available as part of poppler-utils and xpdf-utils, and included in many ...
.
Exploit
A vulnerability in the Xpdf implementation of the
JBIG2 file format, re-used in Apple's
iOS
iOS (formerly iPhone OS) is a mobile operating system created and developed by Apple Inc. exclusively for its hardware. It is the operating system that powers many of the company's mobile devices, including the iPhone; the term also include ...
phone operating software, was used by the
Pegasus spyware to implement a
zero-click attack on
iPhones by constructing an emulated
computer architecture
In computer engineering, computer architecture is a description of the structure of a computer system made from component parts. It can sometimes be a high-level description that ignores details of the implementation. At a more detailed level, the ...
inside a JBIG2 stream. Apple fixed this "
FORCEDENTRY" vulnerability in iOS 14.8 in September 2021.
See also
*
Poppler, a
GPL
The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the four freedoms to run, study, share, and modify the software. The license was the first copyleft for general u ...
-licensed fork of the xpdf-3.0 rendering library designed for easier reuse in other programs
*
List of PDF software
This is a list of links to articles on software used to manage Portable Document Format (PDF) documents. The distinction between the various functions is not entirely clear-cut; for example, some viewers allow adding of annotations, signatures, e ...
Notes and references
Sources
*
External links
*
{{PDF readers
Free PDF readers
Technical communication tools
X Window programs
Amiga software
AmigaOS 4 software
Software that uses Motif (software)