ArticleslgStudy

computer science

Sumatra PDF

Sumatra PDF is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Sumatra PDF rather than just read about it. In short: Sumatra PDF is a free and open-source document viewer that supports many document formats including: Portable Document Format (PDF), Microsoft Compiled HTML Help (CHM), DjVu, EPUB, FictionBook (FB2), MOBI, PRC, Open XML Paper Specification (OpenXPS, OXPS, XPS), and Comic Book Archive file (CB7, CBR, CBT, CBZ). If Ghostscript is installed, it supports PostScript files.

Sumatra PDF — main illustration
Sumatra PDF — illustration

Key takeaways

  • Sumatra PDF belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Sumatra PDF to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Sumatra PDF from memory before moving on to harder problems.

Reference excerpt

Sumatra PDF is a free and open-source document viewer that supports many document formats including: Portable Document Format (PDF), Microsoft Compiled HTML Help (CHM), DjVu, EPUB, FictionBook (FB2), MOBI, PRC, Open XML Paper Specification (OpenXPS, OXPS, XPS), and Comic Book Archive file (CB7, CBR, CBT, CBZ). If Ghostscript is installed, it supports PostScript files. It is developed exclusively for Microsoft Windows.

Features Sumatra has a minimalist design, with its simplicity attained at the cost of extensive features. For rendering PDFs, it uses the MuPDF library. Sumatra was designed for portable use, as it consists of one file with no external dependencies, making it usable from an external USB drive, needing no installation. This classifies it as a portable application to read PDF, XPS, DjVu, CHM, eBooks (ePub, FictionBook, Mobi PDB and TCR), Comic Book (CBZ, CBR, CBT, and CB7) and image formats (BMP, GIF, JPEG, JPEG 2000, JPEG XR, PNG, TGA, and WebP). Sumatra can also support PostScript, PJL, and HEIF formats via external software. As is characteristic of many portable applications, Sumatra uses little disk space. In 2009, Sumatra 1.0 had a 1.21 MB setup file, compared to Adobe Reader 9.5's 32 MB. In January, 2017, the latest version of SumatraPDF, 3.1.2, had a single 6.1 Mb executable file; in comparison, Adobe Reader XI used 320 MB of disk space. The PDF format's use restrictions were implemented in Sumatra 0.6, preventing users from printing or copying from documents that the document author restricts, a form of digital rights management. Kowalczyk stated, "I decided that [Sumatra] will honor PDF creator's wishes." Other open-source readers like Okular and Evince make this optional, and Debian patches software to remove these restrictions, in accord with its principles of interoperability and re-use. Through version 1.1, printing was achieved by rasterizing each PDF page to a bitmap. This resulted in very large spool files and slow printing. Since version 0.9.1, hyperlinks embedded in PDF documents have been supported. Sumatra is multilingual, with 69 community-contributed translations. Sumatra supports SyncTeX, a bidirectional method to synchronize TeX source and PDF output produced by pdfTeX or XeTeX.

Development Sumatra PDF is written mainly by two contributors: Krzysztof Kowalczyk and Simon Bünzli. The source code is developed in two programming languages, mostly in C, with some components in C++. The source code is provided with support for Microsoft Visual Studio. As it was first designed when Windows XP was the current version of Windows, Sumatra initially had some incompatibilities with earlier versions of Windows. Support for Windows 95, 98 and ME has since been removed. Initially, Kowalczyk did not release a 64-bit version of Sumatra, indicating that while it might offer slightly more speed and available memory, he believed at that time that it would greatly add to user confusion and that the benefits would not outweigh the potential costs. However, some users requested 64-bit builds of Sumatra and other developers had compiled unofficial 64-bit builds which loaded documents faster than the 32-bit builds. However, the official builds' developer had requested that unofficial builds not bear the 'Sumatra' name. In October 2015, an official 64-bit version of Sumatra was released. In April 2023, an official ARM64 version of Sumatra was released. The Sumatra source code was originally hosted on Google Code. Due to US export legal restrictions, it was unavailable "in countries on the United States Office of Foreign Assets Control sanction list, including Cuba, Iran, North Korea, Sudan and Syria." The source code is currently hosted on GitHub.

History The first version of Sumatra PDF, designated version 0.1, was based on Xpdf 0.2 and was released on 1 June 2006. It switched to Poppler from version 0.2. In version 0.4, it changed to MuPDF for more speed and better support for the Windows platform. Poppler remained as alternative engine for a time, and from version 0.6 to 0.8 it was automatically used to render pages that MuPDF failed to load. Poppler was removed in version 0.9, released on 10 August 2008. In July 2009, Sumatra PDF changed its license from GNU GPLv2 to GNU GPLv3 to match the same license change on MuPDF. Since version 0.9.4, Sumatra supports the JPEG 2000 format. Version 1.0 was released on 17 November 2009, after more than three years of cumulative development. Version 2.0 was released on 2 April 2012, over two years after the release of version 1.0. In 2007, the first unofficial translations were released by Lars Wohlfahrt before Sumatra PDF got official multi-language support. In October 2015, version 3.1 introduced a 64-bit version, in addition to their original 32-bit version. In April 2023, version 3.5 introduced an ARM64 version, in addition to the 64-bit and original 32-bit version.

Name and artwork

The author has indicated that the choice of the name "Sumatra" is not a tribute to the Island of Sumatra or coffee, stating that there is no particular reasoning behind the name. The graphics design of Sumatra is a tribute to the cover of the Watchmen graphic novel by Alan Moore and Dave Gibbons.

Critical reception Sumatra has attracted acclaim for its speed and simplicity, for being portable, its keyboard shortcuts, and its open-source development. At one time the Free Software Foundation Europe recommended Sumatra PDF, but then removed its recommendation in February 2014, due to the presence of the non-freely licensed unrar code in Sumatra. As foundation representative Heiki Ojasild explained, "while they continue to make use of the non-free library, SumatraPDF cannot be recognised as Free Software." Unrar was eventually replaced with a free alternative in version 3.0, making it 100% free software.

See also

Foliate, a free and open-source e-book reading application for Linux List of PDF software List of portable software

References

External links

Official website sumatrapdf on GitHub

Illustrations

Sumatra PDF illustration
Sumatra PDF illustration
Sumatra PDF: Early Logo of Sumatra PDF, inspired by the Watchmen comic.
Early Logo of Sumatra PDF, inspired by the Watchmen comic.

Worked examples

Example 1 — a first encounter with Sumatra PDF

Start with the simplest possible case. Write down what Sumatra PDF claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Sumatra PDF before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Sumatra PDF ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Sumatra PDF

In research
Sumatra PDF appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Sumatra PDF in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Sumatra PDF is common in secondary-school and first-year university syllabi. It links to neighbouring topics EPUB readers, Free PDF readers, Free image viewers, so understanding it makes those chapters shorter.
In everyday life
Look for Sumatra PDF outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Sumatra PDF” →

How to study Sumatra PDF in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Sumatra PDF means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Sumatra PDF out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Sumatra PDF in simple terms?

Sumatra PDF is a free and open-source document viewer that supports many document formats including: Portable Document Format (PDF), Microsoft Compiled HTML Help (CHM), DjVu, EPUB, FictionBook (FB2), MOBI, PRC, Open XML Paper Specification (OpenXPS, OXPS, XPS), and Comic Book Archive file (CB7, CBR…

Why does Sumatra PDF matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Sumatra PDF?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Sumatra PDF.

Tags

  • EPUB readers
  • Free PDF readers
  • Free image viewers
  • Free software programmed in C
  • Free software programmed in C++
  • PDF readers
  • Portable software
  • Software using the GNU General Public License
  • Windows-only free software

Keep exploring