Author: | Tor Andersson |
Developer: | Artifex Software, Inc. |
Programming Language: | C |
Operating System: | Unix-like, Windows, Android, iOS |
License: | dual-licensed (GNU Affero General Public License and commercial permissive license) |
Genre: | Framework |
MuPDF is a free and open-source software framework written in C that implements a PDF, XPS, and EPUB parsing and rendering engine. It is used primarily to render pages into bitmaps, but also provides support for other operations such as searching and listing the table of contents and hyperlinks.
The focus of MuPDF is on speed, small code size, and high-quality anti-aliased rendering. Since the 1.2 release, MuPDF has optional support for interactive features such as form filling, JavaScript and transitions.[1]
The library ships with a rudimentary X11 and Windows viewer, and a set of command-line tools for batch rendering (mutool draw), examining the file structure (mutool show), and rewriting files (mutool clean). Later versions also have a JavaScript interpreter (mutool run) that allows running scripts to create and edit PDF files.
A number of free software applications use MuPDF to render PDF documents, the most notable being Sumatra PDF. MuPDF is also available as a package for most Unix-like operating system distributions.
Independent parties have ported the library to many platforms, including the Amazon Kindle,[2] HP TouchPad,[3] PlayStation Portable,[4] Wii,[5] and DOS.[6]
In 2002, Tor Andersson started work on MuPDF based on the Libart rendering library by Raph Levien. After Artifex Software acquired the MuPDF project, the development focus shifted on writing a new modern graphics library called Fitz. Fitz was originally intended as an R&D project to replace the aging Ghostscript graphics library, but has instead become the rendering engine powering MuPDF.[7]
In 2005, the first version of MuPDF with the new Fitz library was released.
In 2009, Artifex Software filed a copyright infringement lawsuit against Palm, Inc. for violating their copyrights on MuPDF.[8] At that time Artifex offered MuPDF dual-licensed, either under GPLv2 or under a proprietary license meant by Artifex for commercial use. When Palm included MuPDF in webOS and complied with GPLv2 by releasing the changed source code of the library,[9] [10] Artifex claimed that the GPL version would be unsuitable for "commercial use"[11] as the complete, aggregated product (PDFviewer, WebOS) would have to be placed under GPL.[12] Artifex voluntarily dismissed the suit in 2011.[13]
In 2011, support for Microsoft's XPS was added, based on code from the GhostXPS library.[1]
Since February 2013, with the 1.2 release, licensing terms have changed from GNU General Public License to GNU Affero General Public License v3.[1]