Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
C Java Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
ABOUT paraPDF is a fork of MuPDF. It's simply intended to add a few features muPDF was missing which I was interested in, if I can't get them to upstream, and add some additional keybindings to make it feel more like home (home being vim). Specifically, here's the changes I'm workig on: - Reload the PDF when receiving a SIGHUP. This can be useful, for example, when working with LaTeX or something else that outputs PDFs. - Create a keybinding to invert the colors. This can be useful if one uses a dark color scheme. It would be preferable to refrain from inverting images, but that's likely to much work for the effort (and my capabilities). - Added a flag to start with colors inverted. - Add some bindings to make muPDF feel a bit more like vim. Most notably, ctrl-e, ctrl-y, ctrl-f, ctrl-b, and gg. muPDF's original README follows (with my addition to the copyright): ----- ABOUT MuPDF is a lightweight PDF viewer and toolkit written in portable C. The renderer in MuPDF is tailored for high quality anti-aliased graphics. MuPDF 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. MuPDF has a small footprint. A binary that includes the standard Roman fonts is only one megabyte. A build with full CJK support (including an Asian font) is approximately five megabytes. MuPDF has support for all non-interactive PDF 1.7 features, and the toolkit provides a simple API for accessing the internal structures of the PDF document. Example code for navigating interactive links and bookmarks, encrypting PDF files, extracting fonts, images, and searchable text, and rendering pages to image files is provided. LICENSE MuPDF -- PDF parsing, rendering and viewing toolkit. Copyright (C) 2006-2010 Artifex Software, Inc. Copyright (C) 2011 Daniel Thau This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. COMPILING Before compiling MuPDF you need to install thirdy party dependencies. zlib libjpeg freetype2 jbig2dec OpenJPEG If you don't have these installed on your system you can download and unzip the mupdf-thirdparty.zip archive in the mupdf source tree. The makefile will pick up the existence of this directory automatically. You must unpack mupdf-thirdparty.zip to build using the Visual Studio project. You will need to use GNU Make to build with the supplied Makefile. It may be necessary to edit the Makefile for your system if it cannot find header files or libraries. DOWNLOAD The latest development source is available directly from the darcs repository. Browse the source or use the following command line to check out the source: darcs get http://mupdf.com/repos/mupdf INSTALLING Typing "make prefix=/usr/local install" will install the binary, static library and header files on your system. REPORTING BUGS AND PROBLEMS Report bugs on the ghostscript bugzilla, with MuPDF as the selected component. http://bugs.ghostscript.com/ If you are reporting a problem with PDF parsing, please include the problematic file as an attachment.