Poppler (software)
Poppler is a free software utility library for rendering Portable Document Format (PDF) documents. Its development is supported by freedesktop.org. It is commonly used on Linux systems,[3] and is used by the PDF viewers of the open source GNOME and KDE desktop environments.
Developer(s) | freedesktop.org |
---|---|
Initial release | March 4, 2005[nb 1] |
Stable release | 0.90.1
/ July 11, 2020[1] |
Repository | |
Written in | C++ |
Operating system | Linux, Unix, BSD, Windows |
Type | Library |
License | GPLv2 or GPLv3[2] |
Website | poppler |
The project was started by Kristian Høgsberg with two goals:[4] to provide PDF rendering functionality as a shared library for centralizing maintenance effort, and to go beyond the goals of Xpdf, and integrate with functionality provided by modern operating systems.
As of the version 0.18 release in 2011, the poppler library represents a complete implementation of ISO 32000-1,[3] the PDF format standard, and is the first major free PDF library to support its forms (only Acroforms but not full XFA forms[5][6]) and annotations features.[3]
Poppler is a fork of Xpdf-3.0, a PDF file viewer developed by Derek Noonburg of Glyph and Cog, LLC.[4][7]
The name Poppler comes from the animated series Futurama episode "The Problem with Popplers."[7]
Applications
Notable free software applications using Poppler to render PDF documents include:[8]
Application | GUI widgets |
---|---|
Evince | GTK |
Inkscape | GTK |
LibreOffice 4.x | GTK[9] |
Okular | Qt |
pdftotext, pdftohtml, etc. | none |
TeXstudio | Qt |
TeXworks | Qt |
Zathura | GTK |
Features
Poppler can use two back-ends for drawing PDF documents, Cairo and Splash. Its features may depend on which back-end it employs. A third back-end based on Qt4's painting framework "Arthur", is available, but is incomplete and no longer under active development.[10] Bindings exist for Glib and Qt5, that provide interfaces to the Poppler backends, although the Qt5 bindings support only the Splash and Arthur backends. There is a patchset available to add support for the Cairo backend to the Qt5 bindings,[11] but the Poppler project does not currently wish to integrate the feature into the library proper.[12]
Some characteristics of the back-ends include:
- Cairo: Anti-aliasing of vector graphics, and transparent objects.[8]
- Cairo does not smooth bitmap images such as scanned documents.
- Cairo does not depend on the X Window System, so Poppler can run on other platforms like Wayland, Windows or macOS.
- Splash: Supports minification filtering of bitmaps.[8]
Poppler comes with a text-rendering back-end as well, which can be invoked from the command line utility pdftotext
. It is useful for searching for strings in PDFs from the command line, using the utility grep
, for instance.[13]
Example:
pdftotext file.pdf - | grep string
Poppler partially supports annotations and Acroforms. It does not support JavaScript[14] nor the rendering of full XFA forms.[5]
poppler-utils
poppler-utils is a collection of tools built on Poppler's library API, to manage PDF and extract contents:
- pdfdetach – extract embedded documents from a PDF
- pdffonts – lists the fonts used in a PDF
- pdfimages – extract all embedded images at native resolution from a PDF
- pdfinfo – list all information of a PDF
- pdfseparate – extract single pages from a PDF
- pdftocairo – convert single pages from a PDF to vector or bitmap formats using cairo
- pdftohtml – convert PDF to HTML format retaining formatting
- pdftoppm – convert a PDF page to a bitmap
- pdftops – convert PDF to printable PS format
- pdftotext – extract all text from PDF
- pdfunite – merges several PDF
See also
- List of PDF software
- iText – another open source PDF library
- pdfimages – a native resolution image extraction tool packaged with poppler
Notes
- This file-modification date appears on the version 0.1.1 tarball, the "first real release", according to Poppler's release history.[1]
References
- "Poppler Releases". Retrieved 2020-07-12.
- "Poppler README-XPDF". Retrieved 2015-09-26.
- "GNU PDF project leaves FSF High Priority Projects list; mission complete!". October 6, 2011. Retrieved 2011-10-11.
- "Poppler README file". Archived from the original on 2012-07-08. Retrieved 2010-01-21.
- Bug 18935 - Form data is not saved for PDF files using XFA forms, will show old values when opened in acroread / Adobe Reader, 2008-12-07
- PDF v1.7 asks to upgrade Adobe Reader, 2009-01-27
- "Poppler Homepage". Retrieved 2015-01-03.
- "Poppler Wiki. Information about Poppler". Retrieved 2010-01-21.
- "LibreOffice 4.2 ReleaseNotes". documentfoundation.org.
- Albert Astals Cid (15 May 2009). "Re: [poppler] Qt4 Arthur". mail-archive.com.
- "giddie/poppler-cairo-backend". GitHub.
- "Bug 25240 – Cairo backend for Qt4 wrapper". freedesktop.org.
- "Searching PDF Files With grep". Retrieved 2010-01-21.
- Albert Astals Cid (Feb 8, 2008). "Support JavaScript (#162)". GitLab. Retrieved October 3, 2018.
- Albert Astals Cid (29 August 2005) The Poppler Library, presentation at the 2005 KDE conference