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

Is it possible to merge pdf files into one with mupdf on android?

I have many one page pdf files and I would like to merge it into one pdf file with mupdf library on android device. Is this possible? If it is not possible, can you recommend something else that I can use on android? Note: all pdf files are…
Martin Milesich
  • 184
  • 3
  • 8
3
votes
0 answers

How to Convert mupdfActivity into fragment

I have successfully implemented the mupdf library in my project. The issue is the activity MuPDFActivity only showing a single window containing pdf. What I need is to convert this activity into fragment so that I can show it more than once…
Pramod J George
  • 1,723
  • 12
  • 24
3
votes
4 answers

OutOfMemory in MuPdf

Hello I am using MuPdf library in my project to view documents. The problem is that when you open 3-7 documents in a activity 11 inches on the tablet, i get memory overflow. When you load a new document, all references to the previous document are…
alezhka
  • 738
  • 2
  • 12
  • 29
3
votes
1 answer

using Mupdf library for pdfrenderer not working

I have been working on MuPdf library for long and finally I am able to install it on my device, after creating libmupdf.so file and working on Cygwin and android-ndk. But still i am facing an issue...application installed on device, I am getting a…
dave21
  • 315
  • 1
  • 6
  • 14
3
votes
0 answers

APV pdf reader. Installation, Unzipping and Native library issues

Ok so i've installed everything that should be needed in order for APV and/or MuPDF to work, but it still crashes. I'm not very good at using shells to install programs and all that, but i did follow the instructions included in the readme files as…
3
votes
1 answer

Pdf Viewer using mupdf library

I have tried mupdf library to render my pdf ie. to have my own PDF VIewer, but when i try to form libmupdf.so file using Cygwin on my Windows system, getting errors and .so file not building. plz guide.
dave21
  • 315
  • 1
  • 6
  • 14
2
votes
1 answer

Error creating C header file from Java class containg Android class

I am working on an app in android where I have a Java class containing android.graphics.Bitmap package I want to create a header file using javah but getting an error: Class android.graphics.Bitmap not found
dave21
  • 315
  • 1
  • 6
  • 14
2
votes
1 answer

referencing mupdf in Qt4 project

I have libfitz.a and libmupdf.a in /usr/local/lib (previously compiled). then I included the headers: #include #include then I put: INCLUDEPATH +=/home/pc/sviluppo/mupdf-0.9 INCLUDEPATH …
P5music
  • 3,197
  • 2
  • 32
  • 81
2
votes
1 answer

android ndk mupdf build error

I am trying to make a project to read pdf in android phone. So, I created the normal Android Project and installed the android-ndk-r6-windows. And I built the 'libmibookreader.so' and set the native functions in my java class. But after compiling my…
smiler
  • 315
  • 1
  • 3
  • 8
2
votes
0 answers

Is muPdf able to read iranian (farsi) digits?

I have a PDF file containing Iranian/Farsi digits: http://antiguide.free.fr/divers/20200220_pdf2excel/azar_1398.pdf I wish convert it to Excel. When I run mutool it seems that digits are "visualy" interpreted as latin characters, ie "seven" is…
antiguide
  • 21
  • 1
2
votes
0 answers

Mupdf in Android Studio

I'm trying to integrate Mupdf to Android. The documentation in their site seem to be out-dated. I got the latest master from git. I saw two ways by which .so files can be build in Developer site: CmakeLists.txt adding Android.mk file First method…
Shahal
  • 1,008
  • 1
  • 11
  • 29
2
votes
2 answers

Mupdf compile with only pdf support

I was working on a lightweight pdf viewer, and I wanted the size to be of the range of 5 MBs, I am using mupdf , but the compiled .so file itself is around 16.6 MBs, Is there a way to compile mupdf with only pdf support and not the others like xps,…
2
votes
0 answers

MuPDF Android- display cover page alone in the “two page view” mode in landscape orientation on tablet

I have integrated MuPDF in my android application to show PDF in landscape mode. I need to display 2 pages on the screen except for the cover page or first page of PDF. I have used core.setDisplayPages(2); to show 2 pages. Currently it shows first…
User_1191
  • 981
  • 2
  • 8
  • 24
2
votes
1 answer

Mupdf with chinese text annotation

I need to use Mupdf insert some chinese text annotation. so I tested like this: pdf_document *idoc; struct fz_point_s sp = {200.0,200.0}; idoc = pdf_specifics(ctx, doc); if (!idoc) return; fz_try(ctx) { float color[] = {0,0,0}; …
2
votes
1 answer

Get Internal Storage Path to open Copied PDF using MUPDF

Im using the following method to copy a PDF File from the assets folder to internal memory in android.I intent to open it using MUPDF Reader.As it does not support direct opening from assets folder im doing this.But there seems to be no answers on…
techno
  • 6,100
  • 16
  • 86
  • 192