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
6
votes
2 answers

How to integrate MuPDF in iOS project

How can I integrate the mupdf library into an existing iOS project? I can run the provided source on my device and simulator, but I can't seem to manage to add it to my project correctly. I tried linking and importing the compiled static libraries…
sPoz
  • 153
  • 1
  • 8
6
votes
2 answers

MuPDF for Android: Option for fragment instead Activity

In my existing android app, Im using MuPDF, which i ported with help of this doc. Now when i want to open pdf files inside activity i use : Uri uri = Uri.parse(path); Intent intent = new Intent(this, MuPDFActivity.class); …
DPP
  • 12,716
  • 3
  • 49
  • 46
6
votes
5 answers

error in integration of mupdf library

I am working on a project in which i have to deal with pdf view. I am trying to integrate mupdf library in my project but getting error as mentioned below. I have followed all steps mentioned in readme document. please help me to solve this…
Maulik.J
  • 636
  • 1
  • 6
  • 14
6
votes
1 answer

Is it possible to save a modified PDF using MuPDF?

I have edited a PDF using some of MuPDFs modification API and I cannot figure out how to save this modified PDF to disk. Is this possible? If so how can I save this PDF?
Trevor
  • 105
  • 2
  • 4
5
votes
3 answers

Make absolute-positioned children dynamically resize with their ascendants

(Please ignore the empty squares.) without CSS view { height: 45em; }, I get: (position overlap) with CSS view { height: 45em; }, I get: (unwanted, position mismatch) How can I have the blue element positioned correctly in the second…
Cetin Sert
  • 4,497
  • 5
  • 38
  • 76
5
votes
0 answers

How to sign a pdf digitally by using mupdf(ios)

I have successfully integrated mupdf into my project. now i can able to browse pdf, add new annotations and editing but i didn't know how to embed digital signature into pdf. Can any one suggest me the steps for embedding digital signature into pdf.
Sunil aruru
  • 497
  • 5
  • 18
5
votes
1 answer

Read online PDF file using MuPDF

I have two issues 1) Annotation not work 2) I want read online pdf document I build MuPDF using this link http://mupdf.com/doc/how-to-build-mupdf-for-android 1) I get project mupdf/platform/android I run that default app annotation working fine but…
RDY
  • 613
  • 1
  • 9
  • 25
5
votes
3 answers

MuPDF Android Library Vertical Scroll

I am using MuPdf Android Library, I want vertical Scroll instead of horizontal page Scrolling, tried everything but failed, googled the problem and found an answer on Stackoverflow and someone answered his question which worked for the Questions…
Naveed Ahmad
  • 6,627
  • 2
  • 58
  • 83
5
votes
1 answer

mupdf: how to open pdf file with openBuffer method?

Unfortunatelly, I haven't found any documentation on this point, so maybe I do something wrong. I use mupdf sample for android and I have slightly modified the source code of MuPDFActivity this way: public void onCreate(Bundle savedInstanceState) { …
aniGem
  • 53
  • 1
  • 4
5
votes
3 answers

PDF to bitmap image conversoin using mupdf n android

I'm using mupdf library in my android application to view the pdf files. Can anyone tell me how to get the bitmap images of each page of a pdf using mupdf library? Thanks in advance....
user456
  • 61
  • 1
  • 7
4
votes
2 answers

building MUPDF for Android

i'm new in using NDK and i want to build MUPDF library for my PDF Viewer project, i followed Integrate MuPDF Reader in an app and also this ReadMe.txt and i encountered this errors:. home@home-desktop:/$ ndk-build -C…
agony
  • 563
  • 1
  • 9
  • 18
4
votes
2 answers

Develop an ebook reader on iPhone/iPad using MuPDF library

Can I develop an ebook reader on iphone/ipad using MuPDF library? Do you have any good idea? Please help me with some good tutorials.
cyberworld
  • 694
  • 7
  • 22
4
votes
3 answers

During make mupdf, fatal error: X11/Xlib.h file not found in mac

I am installing muPDF. I gave an input like make prefix=/usr/local install in terminal I have installed XQuartz already But I get an error as follows In file included from thirdparty/glfw/src/context.c:28: In file included from…
4
votes
1 answer

mupdf cannot recognize version marker

When opening and decrypting a file into a buffer in Android, and trying to open the file using Mupdf OpenBuffer method, it fails with the following message: cannot recognize version marker The viewer shows all the pages blank, although it gets…
Muotaz
  • 53
  • 1
  • 4
4
votes
0 answers

Signed APK cannot generated in Android Studio 1.3

I have integrated MuPdf library as module in my app. When I was generating Signed Apk it didn't generate and it shows the following errors.. Information:Gradle tasks [:app:assembleRelease] Warning:Dependency…
karthickraja
  • 214
  • 1
  • 7
1
2
3
22 23