Questions tagged [mupdf]

MuPDF is a lightweight, fast PDF and XPS viewer capable to run on multiple platforms, including Android and iOS. It also includes its own `fitz` rendering library.

MuPDF started its life somewhere in Scandinavia, but then it was adopted by the Ghostscript community. Since then it was nursed in the cradle of the Ghostscript developers and brought to life as a lightweight PDF viewer, meant as an alternative to Ghostscript. Recently it gained XPS viewing capabilities too.

It serves as the core for the popular lightweight and fast SumatraPDF viewer on Windows, but it is ported to many other platforms too (including Android and iOS).

In its core is its own fitz rendering library.

MuPDF's implementation of PDF-1.7 features is rather complete: it supports transparency, encryption, hyperlinks, annotations, searching and more.

From the 1.2 release of MuPDF, there is optional support for interactive features such as form filling, javascript and transitions.

License: AGPL v3 or commercial (from Artifex)

Sources: git clone git://git.ghostscript.com/mupdf.git

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

344 questions
2
votes
1 answer

How to Integrate Mupdf in android studio step by step?

i am a new developer curreently working on a project that need to use mupdf but it's really complicated to integrate. Is there any tutorial and anyone can tell me to that step by step in a specific detail? please thx
Pen Lymeng
  • 271
  • 5
  • 14
2
votes
2 answers

implement MuPdf in IOS App

I want to implement MuPdf in my application. I have added all library files including fitz and pdf , but i can't build my code as there are showing these errors : Apple Mach-O Linker Error Undefined symbols for architecture i386: …
Brijesh
  • 171
  • 6
2
votes
2 answers

Convert Pdf page into image using mupdf

I googled, but I cannot find a solution to do this. I am in need of showing an image thumbnail view from a PDF's first page without opening it. The PDF file will be available in my mobile itself. Installing another external library is not possible.…
2
votes
0 answers

Hidding annotations in MuPdf android

I am using the MuPdf library in an Android application. I am drawing annotations on a PDF but I want to show the option to toggle the visibility of all annotations on the current page. I do not want to permanently erase anything. Is it possible in…
Akshay
  • 21
  • 3
2
votes
0 answers

Android - save pdf with image using Mupdf

I am developing an android application. My Aim: The user can view the PDF files and they can add their signatures. What I did: I have used the MUPDF library to show the PDF files to the users. Now the user can directly add their signatures over…
SKK
  • 1,705
  • 3
  • 28
  • 50
2
votes
1 answer

How to add geometry annotations to PDF files using MuPDF

I'm developing an app for Android that needs to work extensively with PDF files, and mupdf http://www.mupdf.com/ proved to work well with this task. I was also able to modify the Java and C source files to accept different color "Ink Annotations"…
ABT
  • 337
  • 2
  • 10
2
votes
0 answers

How to convert PDF to HTML on android?

I'm trying to display PDF documents in an android aplication. I'm using MuPDF library to decode them as Bitmap, so that they could be displayed in Custom ImageView. It's working but very memory consuming on some devices, and it's also more…
parser_failed
  • 697
  • 9
  • 20
2
votes
1 answer

How to get more zoom from mupdf

I have implemented mupdf for my android application.It is working fine,but i need more zoom.I tried to override onDoubleTap method,but it didn't worked.How to implement more zoom facility?
sandamali perera
  • 156
  • 2
  • 12
2
votes
0 answers

Compiling muPDF lib in Eclipse "cannot unlink `NUL': Invalid argument Android NDK" Error

I'm trying to compile the muPDF lib in Eclipse on Windows 7. I'm following these steps. On this step Build the native code libraries: ~/src/mupdf/platform/android $ ndk-build I'm getting this error. Qadir Hussain@GENETECH042…
Qadir Hussain
  • 8,721
  • 13
  • 89
  • 124
2
votes
3 answers

fatal error: fitz.h: No such file or directory in muPDF library

I m trying to compile the muPDF lib in eclipse for android app since 3 days without any success I downloaded and configured the android-ndk, cygwin Im getting this still 15:25:36 **** Build of configuration Debug for project ChoosePDFActivity…
Qadir Hussain
  • 8,721
  • 13
  • 89
  • 124
2
votes
1 answer

ExceptionInitializerError when using Mupdf as library project

I built mupdf for android , and it runs fine as a project itself. My objective is to send intents to it using my main project. This is the code i am using (from my project): Uri uri = Uri.parse(Environment.getExternalStorageDirectory()+…
harveyslash
  • 5,906
  • 12
  • 58
  • 111
2
votes
1 answer

Unable to build Mupdf for android(ExceptionInitializerError)

I wanted to use MuPDF for my android application. To build it, I downloaded the source, cygwin and android ndk. After saving ndk and MUPDF source to my F:\ drive, I ran this: Prepare the source Check out a copy of the mupdf source from git: ~/src…
harveyslash
  • 5,906
  • 12
  • 58
  • 111
2
votes
0 answers

Starting an Activity from android library project

I am using MuPDF as a library project.It has a package under src called com.artifex.mupdf. I want to call an activity called MuPDFActivity from said package from my main project. I tried Declaring the activity in my project's manifest like this : …
harveyslash
  • 5,906
  • 12
  • 58
  • 111
2
votes
2 answers

navigating to a specific page with the mupdf android library

How would I go about navigating to a specific page with the muPDF library? Or is there a way to make the library not remember which page I was last on in that pdf? Uri uri = Uri.parse(path); Intent intent = new Intent(MainActivity.getContext(),…
David
  • 105
  • 1
  • 9
2
votes
0 answers

Why the libmupdf.so build by myself doesn't work?

I was using the MuPDF to create a PDF Reader Application. So I download MuPDF source and build the demo app of it. I followed the guide in this link http://mupdf.com/docs/how-to-build-mupdf-for-android and build everything needed. Then I import the…
rock_cloud
  • 123
  • 1
  • 1
  • 7