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 Compile Ghostscript for ImageMagick on Android?

I've been googling for hours but to no avail. I have successfully compiled ImageMagick on Android via the NDK, but cannot use it to open pdf files because this requires Ghostscript. A lot of ghostscript for android searches has led me to believe…
Asiimwe
  • 2,199
  • 5
  • 24
  • 36
2
votes
1 answer

How to use Mupdf sample project with android SDK

I have a pdf reader proejct with mupdf reader library and i have a Android setup SDK , when i run the sample application it display sd card content list and when i have selected any pdf i will get crashed here is the log . 12-20 11:57:57.512:…
Alok Tiwari
  • 607
  • 2
  • 7
  • 21
2
votes
2 answers

Read PDF Right-to-left in mupdf

The mupdf is a good open source pdf reader. It meets almost all of my requirements except it can't reader pdf from right-to-left. Does anybody have any idea about it? Actually my understanding for RTL is that I can navigate to the last page first.…
Bagusflyer
  • 12,675
  • 21
  • 96
  • 179
2
votes
1 answer

Show two pages on landscape mode on Mupdf

I'm using the mupdf library (http://mupdf.com/doc/how-to-build-mupdf-for-android) on my android application. It is working fine, i can see the pdf pages perfectly. But when I'm on landscape mode just one page is shown. I wanna know how to show two…
Derzu
  • 7,011
  • 3
  • 57
  • 60
2
votes
1 answer

Android MuPDF error

I want to add MUPDF sources to my project and show pdfs on my app. I do all these steps in the link below http://mupdf.blogspot.com/ And after added the classes into project like written here http://pastebin.com/YzHUhzE7 Now I want to show a…
Erdinç Özdemir
  • 1,363
  • 4
  • 24
  • 52
2
votes
1 answer

Last line of text cut off when extracting text from PDF using MuPDF

I'm using MuPDF to extract some text from a pdf file. Most of the time it works fine, but occasionally the last line will either not extract or not print. fz_text_sheet *sheet = fz_new_text_sheet(self.ctx); fz_text_page *text =…
user2444342
  • 149
  • 1
  • 8
2
votes
2 answers

How to implement double tap zooming in Mupdf?

I'm researching Mupdf library on Android. I compiled and ran the Sample successfully. It's really a great library. But now I have a problem with zooming the page when firing "Double tap" event. First, I implemented my View to 'listen' double tap…
Phuc Tran
  • 7,555
  • 1
  • 39
  • 27
2
votes
3 answers

mupdf not building in xcode

Not able to build mupdf. I am getting the following error: Generating cmap and font files Apple broke Xcode external targets yet again, and I can't be bothered to fix it. Run the 'make generate' command manually from now on! If you see an error…
Jay Jay Jay
  • 1,970
  • 2
  • 25
  • 47
2
votes
1 answer

Open linearized pdf on mupdf in android

I am using mupdf library in android to view pdf files in private memory of application. In my application first i download the linearized pdf file in private memory of application then pass the pdf uri to MuPDFActivity.java. Now i want to open my…
Naveen Chauhan
  • 2,026
  • 8
  • 33
  • 40
2
votes
1 answer

How to extract embedded files from pdf using MuPDF

My app on iOS extracts embedded files from PDF. Now, i try to make Android app with same functionality using MuPDF. On iOS, I can use Quartz2d to extract embedded files: Access to root PDF dictionary (CGPDFDocumentGetCatalog) Get files array (Names…
SBKarr
  • 548
  • 3
  • 11
2
votes
0 answers

How to integrate mupdf library?

I try to build the library mupdf, using the following sequence https://stackoverflow.com/a/12279638/680267 I can not run command: javah -jni -classpath bin/classes/ -d jni/ com.artifex.mupdf.MuPDFActivity Error: cannot access android.app.Activity…
alezhka
  • 738
  • 2
  • 12
  • 29
2
votes
1 answer

Android Mupdf : PDF viewer silenty crashed due to low memory after 13 pages

I am trying opened a large pdf file (10MB) which has high resolution images embedded on it with internal links,It seems to be working fine up to 13 pages when I continuous clicked the next page button. After 13 pages the application silently restart…
vinay kumar
  • 1,451
  • 13
  • 33
2
votes
1 answer

How to build MuPDF on linux?

Can anyone share their experiences building MuPDF on Ubuntu 12.04? If you can provide a step-by-step guide that would be awesome! I would like to build mupdf-1.0-source but I'm having some trouble when invoking make. One of my concerns is, where do…
Some Noob Student
  • 14,186
  • 13
  • 65
  • 103
2
votes
0 answers

How to Run a Sample MuPDF in Eclipse?

I am using Windows XP here and Eclipse IDE for development. I did a lot of research on how to use MuPDF and I found this one but I don't know how to do the steps 5 - 7. Then I do another research about MuPDF and found and follow this Readme.txt, but…
jayellos
  • 691
  • 1
  • 14
  • 32
2
votes
0 answers

Open mupdf source in eclipse

I know this question had been asked before and there are some tutorials about this question, but I've been struggling with this for days with no success, I don`t know much about how to use Cygwin or ANT. I would like just to run MuPDF from source…
DanM
  • 1,530
  • 4
  • 23
  • 44