Skip to content

knielsen/mupdf

Repository files navigation

=======================================================================
NOTE: This is Kristian Nielsen's branch of mupdf-gl with some extra
patches that add dual-page view, interactive search, proper
copy-paste, and more.

This branch mainly exists as a place to add patches for submission to
upstream MuPDF, and to share code for others that may be interested in
the enhancements until such time that they become available upstream.
Expect this branch to be periodically git-rebased on top of latest MuPDF code.

The MuPDF code as a whole, and therefore also this branch as a whole,
is under the GNU Affero General Public Licence, see original README
text below. In addition to this, the changes authored by me, Kristian
Nielsen <[email protected]>, and those changes only, are also
released under a more liberal 3-clause BSD licence:

-----------------------------------------------------------------------
Copyright (c) 2017, Kristian Nielsen
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution.
    * Neither the name of the Kristian Nielsen nor the
      names of its contributors may be used to endorse or promote products
      derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL KRISTIAN NIELSEN BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-----------------------------------------------------------------------

MuPDF uses a contributer licence agreement that gives the company
Artifex Software a more liberal licence to contributions than the AGPL
that MuPDF is available under. I want everyone to have similar rights
to my code, hence the use of the liberal BSD 3-clause licence for
the patches that I authored and hold the copyright for.

Below is the original README for upstream MuPDF:

=======================================================================
ABOUT

MuPDF is a lightweight open source software framework for viewing and converting
PDF, XPS, and E-book documents.

See the documentation in docs/index.html for an overview.

Build instructions can be found in docs/building.html.

LICENSE

MuPDF is Copyright (c) 2006-2017 Artifex Software, Inc.

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 Affero General Public License along
with this program. If not, see <http:https://www.gnu.org/licenses/>.

For commercial licensing, including our "Indie Dev" friendly options,
please contact [email protected].

REPORTING BUGS AND PROBLEMS

The MuPDF developers hang out on IRC in the #mupdf channel on irc.freenode.net.

Report bugs on the ghostscript bugzilla, with MuPDF as the selected component.

	http:https://bugs.ghostscript.com/

If you are reporting a problem with a specific file, please include the file as
an attachment.