Poppler

From HandWiki - Reading time: 4 min

Short description: Free library for creating PDF documents
Poppler
Poppler logotype.svg
Developer(s)freedesktop.org
Initial release4 March 2005; 19 years ago (2005-03-04)[nb 1]
Written inC++
Operating systemLinux, Unix, BSD, Windows
TypeLibrary
LicenseGPLv2 or GPLv3[2]
Website{{{1}}}

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.

The project was started by Kristian Høgsberg with two goals:[4] 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,[3] the PDF format standard, and was 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
xpopple Motif
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:

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 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

Notes

  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

  1. 1.0 1.1 "Poppler Releases". https://poppler.freedesktop.org/releases.html. 
  2. "Poppler README-XPDF". http://cgit.freedesktop.org/poppler/poppler/tree/README-XPDF?id=e3225a0543d1e6fbc269094ca192879816296993. 
  3. 3.0 3.1 3.2 "GNU PDF project leaves FSF High Priority Projects list; mission complete!". October 6, 2011. https://www.fsf.org/blogs/community/gnu-pdf-project-leaves-high-priority-projects-list-mission-complete. 
  4. 4.0 4.1 "Poppler README file". http://cgit.freedesktop.org/poppler/poppler/tree/README. 
  5. 5.0 5.1 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, https://bugs.freedesktop.org/show_bug.cgi?id=18935 
  6. PDF v1.7 asks to upgrade Adobe Reader, 2009-01-27, https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/321720 
  7. 7.0 7.1 "Poppler Homepage". https://poppler.freedesktop.org. 
  8. 8.0 8.1 8.2 "Poppler Wiki. Information about Poppler". https://freedesktop.org/wiki/Software/poppler. 
  9. "LibreOffice 4.2 ReleaseNotes". documentfoundation.org. https://wiki.documentfoundation.org/ReleaseNotes/4.2. 
  10. Albert Astals Cid (15 May 2009). "Re: [poppler Qt4 Arthur"]. mail-archive.com. https://www.mail-archive.com/poppler@lists.freedesktop.org/msg02641.html. 
  11. "giddie/poppler-cairo-backend". GitHub. 8 December 2021. https://github.com/giddie/poppler-cairo-backend. 
  12. "Bug 25240 – Cairo backend for Qt4 wrapper". freedesktop.org. https://bugs.freedesktop.org/show_bug.cgi?id=25240. 
  13. "Searching PDF Files With grep". https://www.linuxjournal.com/video/searching-pdf-files-grep. 
  14. Albert Astals Cid (Feb 8, 2008). "Support JavaScript (#162)". https://gitlab.freedesktop.org/poppler/poppler/issues/162. 
  • Albert Astals Cid (29 August 2005) The Poppler Library, presentation at the 2005 KDE conference

External links





Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Software:Poppler
21 views | Status: cached on August 13 2024 05:49:36
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF