MuPDF consists of a software library, command line tools, and viewers for various platforms.

The renderer in MuPDF is tailored for high quality anti-aliased graphics. It renders text with metrics and spacing accurate to within fractions of a pixel for the highest fidelity in reproducing the look of a printed page on screen.

The viewer is small, fast, yet complete. It supports many document formats, such as PDF, XPS, OpenXPS, CBZ, EPUB, and FictionBook 2. You can annotate PDF documents and fill out forms with the mobile viewers (this feature is coming soon to the desktop viewer as well).

The command line tools allow you to annotate, edit, and convert documents to other formats such as HTML, SVG, PDF, and CBZ. You can also write scripts to manipulate documents using Javascript. The library is written modularly in portable C, so features can be added and removed by integrators if they so desire. We also have a Java library using JNI that works on both Oracle's Java and Android.

What's New

The 1.27.0 release is now available.

  • Fix stext device calculation of vector bboxes from stroked paths.
  • Fix background area problems with HTML.
  • Prefix MuPDFs openjpeg symbol names, avoiding symbol clashes with system library openjpeg.
  • Tweak strikeout detection to only accept lines less than 80% the way up the char bbox.
  • Improve SVG generation with respect to masks.
  • Fix mudraw build with muthreads disabled.
  • Fix typos in Quad java implementation.
  • Fix typo in openDocument implementation.