Software:Sumatra PDF

From HandWiki
Revision as of 11:48, 9 February 2024 by ScienceGen (talk | contribs) (linkage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Free software PDF reader for Windows
Sumatra PDF
Sumatra PDF logo.svg
SumatraPDF 2.png
Original author(s)Krzysztof Kowalczyk[1]
Developer(s)Krzysztof Kowalczyk, Simon Bünzli and others[1]
Initial release1 June 2006; 18 years ago (2006-06-01)
Stable release
3.5.2 / 25 October 2023; 12 months ago (2023-10-25)[2]
Written inC mostly, C++
Operating systemWindows Vista and later
Size4.63 MB (32-bit), 4.96 MB (64-bit)
Available inMultilingual
TypeDocument viewer
LicenseGNU General Public License v3
Websitesumatrapdfreader.org

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).[3] 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.[4]

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.[5] 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, WebP).[6] Sumatra could also support PostScript, PJL and HEIF formats via external software.[6]

As is characteristic of many portable applications, Sumatra uses little disk space.[3] In 2009, Sumatra 1.0 had a 1.21 MB setup file,[7] compared to Adobe Reader 9.5's 32 MB.[8] 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.[9]

The PDF format's use restrictions were implemented in Sumatra 0.6,[10] 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".[11][12][13] 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.[14]

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.[15][16]

Since version 0.9.1, hyperlinks embedded in PDF documents have been supported.[10]

Sumatra is multilingual, with 69 community-contributed translations.[17]

Sumatra supports SyncTeX, a bidirectional method to synchronize TeX source and PDF output produced by pdfTeX or XeTeX.[10]

Development

Sumatra PDF is written mainly by two contributors: Krzysztof Kowalczyk and Simon Bünzli.[1] 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.[18]

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

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.[20] However, some users requested 64-bit builds of Sumatra and other developers had compiled unofficial 64-bit builds[21] which loaded documents faster than the 32-bit builds. However, the official builds' developer had requested that unofficial builds not bear the 'Sumatra' name.[22] In October 2015, an official 64-bit version of Sumatra was released.[23]

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."[24][25] The source code is currently hosted on GitHub.[26]

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[4] 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.[27]

Since version 0.9.4, Sumatra supports the JPEG 2000 format.[citation needed]

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

In 2007, the first unofficial translations were released by Lars Wohlfahrt[28] 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.[23][29]

Name and artwork

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

The author has indicated that the choice of the name "Sumatra" is not a tribute to the Sumatra island or coffee, stating that there is no particular reasoning behind the name.[30]

The graphics design of Sumatra is a tribute to the cover of the Watchmen graphic novel by Alan Moore and Dave Gibbons.[31]

Critical reception

Sumatra has attracted acclaim for its speed and simplicity,[32] for being portable,[33] its keyboard shortcuts, and its open-source development.[31]

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. Foundation representative Heiki Ojasild explained, "while they continue to make use of the non-free library, SumatraPDF cannot be recognised as Free Software".[34][35][36][37] Unrar was eventually replaced with a free alternative in version 3.0, making it 100% free software.[38]

See also

References

  1. 1.0 1.1 1.2 "The Sumatra PDF Open Source Project on Ohloh: Contributors Listing Page". Ohloh.net. 2011-09-27. https://www.ohloh.net/p/4623/contributors. 
  2. "Release · sumatrapdfreader/sumatrapdf". https://github.com/sumatrapdfreader/sumatrapdf/releases. 
  3. 3.0 3.1 Krzysztof Kowalczyk. "Sumatra PDF – A PDF Viewer for Windows". http://blog.kowalczyk.info/software/sumatrapdf/. 
  4. 4.0 4.1 Kowalczyk, Krzysztof. "SumatraPDF 0.4 released". http://blog.kowalczyk.info/article/SumatraPDF-04-released.html. 
  5. Henry, Alan (2007-08-11). "Sumatra PDF Viewer: Fast and Simple PDF Reading". AppScout. http://www.appscout.com/2007/08/sumatra_pdf_viewer_fast_and_si.php. 
  6. 6.0 6.1 "Supported document formats". https://www.sumatrapdfreader.org/docs/Supported-document-formats. 
  7. oldapps.com (19 October 2014). "Sumatra PDF – Old Version of Sumatra PDF". http://www.oldapps.com/sumatra_pdf.php. 
  8. Adobe Systems Incorporated (2009). "Adobe Reader". http://get.adobe.com/reader/otherversions/. 
  9. Adobe Systems Incorporated (2012). "Adobe Reader XI / Tech specs". http://www.adobe.com/products/reader/tech-specs.html. 
  10. 10.0 10.1 10.2 10.3 Kowalczyk, Krzysztof (May 2008). "Sumatra PDF – A PDF Viewer for Windows – Version history". https://www.sumatrapdfreader.org/news.html. 
  11. Kowalczyk, Krzysztof (February 2009). "Issue 461: Copy to clipboard not allowed in protected files". https://code.google.com/p/sumatrapdf/issues/detail?id=461. 
  12. Kowalczyk, Krzysztof (September 2012). "Issue 2003: printing fails (denied) due to PDF "Denied Permissions"". https://code.google.com/p/sumatrapdf/issues/detail?id=2003. 
  13. Kowalczyk, Krzysztof (September 2012). "Issue 1927: DRM-like features make working with documents difficult". https://code.google.com/p/sumatrapdf/issues/detail?id=1927. 
  14. Okular, Debian, and copy restrictions
  15. Johnson, Adrian (May 2008). "poppler Printing with poppler on Windows". http://lists.freedesktop.org/archives/poppler/2008-May/003783.html. 
  16. Kowalczyk, Krzysztof (October 2008). "Issue 378: mass memory needed for printing any pdf document". http://code.google.com/p/sumatrapdf/issues/detail?id=378. 
  17. Kowalczyk, Krzysztof. "Translators". Sumatra PDF – A PDF Viewer for Windows. http://blog.kowalczyk.info/software/sumatrapdf/translators.html. 
  18. "SumatraPDF-2.4-source.zip – sumatrapdf – SumatraPDF 2.4 source code – PDF, EPUB, MOBI, CHM, XPS, DjVu, CBZ and CBR viewer for Windows". Google Project Hosting. 2013-10-02. https://code.google.com/p/sumatrapdf/downloads/detail?name=SumatraPDF-2.4-source.zip. 
  19. Krzysztof Kowalczyk. "Download SumatraPDF". http://blog.kowalczyk.info/software/sumatrapdf/download-free-pdf-viewer.html. 
  20. "WhyNo64bitBuilds – sumatrapdf – Why we don't provide 64bit builds. – PDF, CHM, XPS, DjVu, CBZ and CBR viewer for Windows – Google Project Hosting". 2012-02-23. https://code.google.com/p/sumatrapdf/wiki/WhyNo64bitBuilds. 
  21. "XhmikosR's Builds". Xhmikosr.1f0.de. 2014-01-14. http://xhmikosr.1f0.de/sumatrapdf/. 
  22. "Sumatra PDF Reader forum". Forums.fofou.org. http://forums.fofou.org/sumatrapdf/topic?id=3184038&comments=4. 
  23. 23.0 23.1 "Provide 64bit builds". GitHub. https://github.com/sumatrapdfreader/sumatrapdf/issues/190. 
  24. "sumatrapdf – PDF, CHM, XPS, DjVu, CBZ and CBR viewer for Windows – Google Project Hosting". http://code.google.com/p/sumatrapdf/. 
  25. "Google Project Hosting – Google Code". https://code.google.com/projecthosting/terms.html. 
  26. "GitHub – sumatrapdfreader/sumatrapdf: SumatraPDF reader". SumatraPDF Developers. https://github.com/sumatrapdfreader/sumatrapdf. 
  27. update the license to GPLv3, to match mupdf's license change on github.com on 3 Jul 2009
  28. Lars Wohlfahrt. "Sumatra PDF German". http://eviltux.de/index.php?art5gg=weiter&id=1183156773&archive=&start_from=&rub=1&. 
  29. Sumatra PDF version history
  30. Kowalczyk, Krzysztof (2008-02-21). "Name of Application". Sumatra PDF Viewer forum. http://forums.fofou.org/sumatrapdf/topic?id=3392&comments=2. 
  31. 31.0 31.1 Trapani, Gina (2007-08-09). "Open PDF's in a flash with Sumatra". Lifehacker. http://lifehacker.com/software/featured-windows-download/open-pdfs-in-a-flash-with-sumatra-287281.php. "The Sumatra PDF Viewer is a tiny open source portable reader that opens PDF's in the blink of an eye. Bloat and startup time is a major drawback to Adobe Reader, so we fled to the faster arms of Foxit Reader long ago. However, at 850KB, Sumatra is way slimmer than FoxIt." 
  32. Anders Ingeman Rasmussen (2008). "Sumatra PDF 0.8". Open Source Alternatives. http://www.osalt.com/sumatra-pdf. "Sumatra PDF is a fairly young project aiming to create a small, simple and fast PDF viewer. It main features are showing PDFs and starting up really fast - and it does both just perfectly." 
  33. This Amazing PDF Reader Is Portable And Tiny Submitted by Rob Schifreen on 21 July 2013
  34. Roshal, Alexander L. (9 October 2011). "The source code of UnRAR utility is freeware". https://code.google.com/p/sumatrapdf/source/browse/trunk/ext/unrar/license.txt. 
  35. Sumatra PDF (n.d.). "Sumatra PDF". https://code.google.com/p/sumatrapdf/. 
  36. Free Software Foundation Europe (28 February 2014). "Get a Free Software PDF reader!". http://www.pdfreaders.org/. 
  37. Ojasild, Heiki (5 March 2014). "PDFreaders.org: Removal of SumatraPDF due to inclusion of non-free code". https://blogs.fsfe.org/repentinus/english/2014/03/05/pdfreaders-org-removal-of-sumatrapdf-due-to-use-of-non-free-code/. 
  38. Kowalczyk, Krzysztof (October 2014). "Sumatra PDF – A PDF Viewer for Windows – Version history". http://blog.kowalczyk.info/software/sumatrapdf/news.html. 

External links