Skip to content

repoman123/nPDF

 
 

Repository files navigation

nPDF 0.2

nPDF is a document viewer for TI-Nspire handheld calculators. It supports PDF, XPS, CBZ, and various image formats. Ndless is required.

Controls

  • Up/8: Scroll up
  • Down/2: Scroll down
  • Left/4: Scroll left
  • Right/6: Scroll right
  • Multiply: Zoom in
  • Divide: Zoom out
  • 9: Previous page
  • 3: Next page
  • Ctrl+G: Go to page
  • Esc: Exit

More controls will be added later.

Compiling from source

You must have the Ndless SDK installed.

The source code can be found on GitHub or Gitorious.

Once you have the code, clone submodules jbig2dec, jpeg, and openjpeg:

git submodule init
git submodule update mupdf/thirdparty/jbig2dec mupdf/thirdparty/jpeg mupdf/thirdparty/openjpeg

(Do not get the freetype or zlib modules. They will conflict with the ones provided in the Ndless SDK.)

Simply run make to compile nPDF.

Libraries used

The following libraries are used by nPDF.

License

nPDF is licensed under the GNU GPL, version 3 or above:

nPDF is Copyright (C) 2014 Legimet.

nPDF 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.

nPDF 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 nPDF. If not, see http://www.gnu.org/licenses/.

The licenses of MuPDF and its dependencies, which are all free software, can be found in their respective directories.

Links

Credits

Thanks to the following people:

  • Xavier Andréani (critor) - improvements in the display, scrolling, and controls
  • blauemauritius - feature requests
  • Adrien Bertrand (adriweb) - feature requests

And thanks to everyone else who reported bugs or requested features, along with the developers of Ndless for making this possible!

About

A document viewer for the TI-Nspire using MuPDF

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 76.8%
  • C# 7.7%
  • Java 6.3%
  • C++ 5.4%
  • Objective-C 3.0%
  • JavaScript 0.5%
  • Other 0.3%