README 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. ABOUT
  2. MuPDF is a lightweight PDF, XPS, EPUB and CBZ viewer and parser/rendering
  3. library.
  4. The renderer in MuPDF is tailored for high quality anti-aliased graphics. It
  5. renders text with metrics and spacing accurate to within fractions of a pixel
  6. for the highest fidelity in reproducing the look of a printed page on screen.
  7. MuPDF is also small, fast, and yet complete. We support PDF 1.7 with
  8. transparency, encryption, hyperlinks, annotations, search and many other bells
  9. and whistles. MuPDF can also read XPS documents (OpenXPS / ECMA-388),
  10. EPUB and CBZ (Comic Book archive) files.
  11. MuPDF is written to be both modular and portable; the example applications
  12. are merely thin layers on top of the functionality offered by the library,
  13. so custom viewers can be easily built for a wide range of platforms. Example
  14. viewer applications are supplied for Windows, Linux, MacOS, iOS and Android.
  15. MuPDF is deliberately designed to be threading library agnostic, while still
  16. supporting multi-threaded operation. In the absence of a thread library
  17. it will run single-threaded, but by adding one significant benefits in
  18. rendering speed on multi-core platforms can be obtained.
  19. Interactive features such as form filling, javascript and transitions
  20. are in development and partially supported by the Android application.
  21. LICENSE
  22. MuPDF is Copyright (c) 2006-2017 Artifex Software, Inc.
  23. This program is free software: you can redistribute it and/or modify it under
  24. the terms of the GNU Affero General Public License as published by the Free
  25. Software Foundation, either version 3 of the License, or (at your option) any
  26. later version.
  27. This program is distributed in the hope that it will be useful, but WITHOUT ANY
  28. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  29. PARTICULAR PURPOSE. See the GNU General Public License for more details.
  30. You should have received a copy of the GNU Affero General Public License along
  31. with this program. If not, see <http://www.gnu.org/licenses/>.
  32. For commercial licensing, including our "Indie Dev" friendly options,
  33. please contact sales@artifex.com.
  34. COMPILING
  35. If you are compiling from source you will need several third party libraries:
  36. freetype2, jbig2dec, libjpeg, openjpeg, and zlib. These libraries are contained
  37. in the source archive. If you are using git, they are included as git
  38. submodules.
  39. You will also need the X11 headers and libraries if you're building on Linux.
  40. These can typically be found in the xorg-dev package. Alternatively, if you
  41. only want the command line tools, you can build with HAVE_X11=no.
  42. The new OpenGL-based viewer also needs OpenGL headers and libraries. If you're
  43. building on Linux, install the mesa-common-dev and libgl1-mesa-dev packages.
  44. You'll also need several X11 development packages: xorg-dev, libxcursor-dev,
  45. libxrandr-dev, and libxinerama-dev. To skip building the OpenGL viewer, build
  46. with HAVE_GLFW=no.
  47. DOWNLOAD
  48. The latest development source is available directly from the git repository:
  49. git clone --recursive git://git.ghostscript.com/mupdf.git
  50. In the mupdf directory, update the third party libraries:
  51. git submodule update --init
  52. INSTALLING (UNIX)
  53. Typing "make prefix=/usr/local install" will install the binaries, man-pages,
  54. static libraries and header files on your system.
  55. REPORTING BUGS AND PROBLEMS
  56. The MuPDF developers hang out on IRC in the #ghostscript channel on
  57. irc.freenode.net.
  58. Report bugs on the ghostscript bugzilla, with MuPDF as the selected component.
  59. http://bugs.ghostscript.com/
  60. If you are reporting a problem with PDF parsing, please include the problematic
  61. file as an attachment.