Poppler (software)

From Wikipedia, the free encyclopedia

Poppler
Developer(s)freedesktop.org
Initial release4 March 2005; 19 years ago (2005-03-04)[nb 1]
Stable release
24.03.0[2] Edit this on Wikidata / 3 March 2024; 20 days ago (3 March 2024)[1]
Repository
Written inC++
Operating systemLinux, Unix, BSD, Windows
TypeLibrary
LicenseGPLv2 or GPLv3[3]
Websitepoppler.freedesktop.org Edit this at Wikidata

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,[4] and is used by the PDF viewers of the open source GNOME and KDE desktop environments.

The project was started by Kristian Høgsberg with two goals:[5] to provide PDF rendering functionality as a shared library, to centralize maintenance effort and to go beyond the goals of Xpdf, and to integrate with functionality provided by modern operating systems.

By the version 0.18 release in 2011, the poppler library represented a complete implementation of ISO 32000-1,[4] the PDF format standard, and was the first major free PDF library to support its forms (only Acroforms but not full XFA forms)[6][7] and annotations features.[4]

Poppler is a fork of Xpdf-3.0, a PDF file viewer developed by Derek Noonburg of Glyph and Cog, LLC.[5][8]

The name Poppler comes from the animated series Futurama episode "The Problem with Popplers."[8]

Applications[edit]

Notable free software applications using Poppler to render PDF documents include:[9]

Application GUI widgets
Evince GTK
Inkscape GTK
LibreOffice 4.x GTK[10]
Okular Qt
pdftotext, pdftohtml, etc. none
TeXstudio Qt
TeXworks Qt
xpopple Motif
Zathura GTK

Features[edit]

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.[11] 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,[12] but the Poppler project does not currently wish to integrate the feature into the library proper.[13]

Some characteristics of the back-ends include:

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.[14]

Example:

pdftotext file.pdf - | grep string

Poppler partially supports annotations and Acroforms. It does not support JavaScript[15] nor the rendering of full XFA forms.[6]

poppler-utils[edit]

poppler-utils is a collection of command-line utilities built on Poppler's library API, to manage PDF and extract contents:

  • pdfattach – add a new embedded file (attachment) to an existing PDF
  • 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 PDFs

See also[edit]

Notes[edit]

  1. ^ This file-modification date appears on the version 0.1.1 tarball, the "first real release", according to Poppler's release history.[1]

References[edit]

  1. ^ a b "Poppler Releases". Retrieved 7 December 2020.
  2. ^ "Poppler 24.03.0 released". Retrieved 4 March 2024.
  3. ^ "Poppler README-XPDF". Retrieved 26 September 2015.
  4. ^ a b c "GNU PDF project leaves FSF High Priority Projects list; mission complete!". 6 October 2011. Retrieved 11 October 2011.
  5. ^ a b "Poppler README file". Archived from the original on 8 July 2012. Retrieved 21 January 2010.
  6. ^ a b Bug 18935 - Form data is not saved for PDF files using XFA forms, will show old values when opened in acroread / Adobe Reader, 7 December 2008
  7. ^ PDF v1.7 asks to upgrade Adobe Reader, 27 January 2009
  8. ^ a b "Poppler Homepage". Retrieved 3 January 2015.
  9. ^ a b c "Poppler Wiki. Information about Poppler". Retrieved 21 January 2010.
  10. ^ "LibreOffice 4.2 ReleaseNotes". documentfoundation.org.
  11. ^ Albert Astals Cid (15 May 2009). "Re: [poppler] Qt4 Arthur". mail-archive.com.
  12. ^ "giddie/poppler-cairo-backend". GitHub. 8 December 2021.
  13. ^ "Bug 25240 – Cairo backend for Qt4 wrapper". freedesktop.org.
  14. ^ "Searching PDF Files With grep". Retrieved 21 January 2010.
  15. ^ Albert Astals Cid (8 February 2008). "Support JavaScript (#162)". GitLab. Retrieved 3 October 2018.
  • Albert Astals Cid (29 August 2005) The Poppler Library, presentation at the 2005 KDE conference

External links[edit]