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
0
votes
1 answer

Android Resources$NotFoundException when inflating activity from library project

What could cause this problem when I added the MuPDF library to my project. This is the error log: FATAL EXCEPTION: main Process: ch.my.app, PID: 18899 java.lang.RuntimeException: Unable to start activity…
Tunerx
  • 619
  • 9
  • 21
0
votes
1 answer

how can i change highlight color in mupdf library android

My project is using mupdf for android.I am not able to change color of highlighted text.Anyone who can help me. Thank you in advance.
0
votes
1 answer

MuPDF Cocoapods Installation Error

After researching on what library to use in one of my projects for epub reader, I decided to use MuPDF. I integrated it using Cocoapods, but when I build the app, it gives me a couple of errors on _math.h_ file on lines 36 and 73. I have attached…
paulo
  • 3
  • 2
0
votes
2 answers

Debug app in different devices

I use MUPDF to view pdf files in an Android app. The app works fine with Samsung s6 and Nexus 5 (Android 5.x). However when using Samsung S3 (Android 4.3), it just breaks without saying anything in the debugger "the app just disappears without…
aselims
  • 1,843
  • 1
  • 17
  • 19
0
votes
1 answer

How to use mupdf library in Android

I have built mupdf from source following these steps http://www.mupdf.com/docs/how-to-build-mupdf-for-android. I have integrated it in my app and it is working fine. I am however facing some issues that I would like input from anyone and I would…
0
votes
0 answers

MuPDF 1.7 & 1.8 save error in Android with error "libc(11538): heap corruption detected by dlmalloc"

I was using MuPDF 1.6 and everything was running smoothly. Recently I am trying to upgrade my project to MuPDF 1.8. Everything runs as expected except when I try to save when annotations are added to the PDF files. I tried different sized PDF files…
0
votes
1 answer

Extract text of the current page from a pdf (using MuPDF)

I have written the code to extract text from a pdf and it works fine. The problem is that the text of only the first page is getting extracted even though I am on a different page. Here is the code that I am using - public void…
TeeKay
  • 1,025
  • 2
  • 22
  • 60
0
votes
1 answer

Attach icon to link on MuPDF

I am using MuPDF library in my android project. I implemented it clearly and it's working fine. In my PDFs there is lots of link to navigate browser, but users can't figure out them. I want to add a icon over layouts where the items has got…
Mucahit
  • 573
  • 1
  • 6
  • 16
0
votes
1 answer

Mupdf is free or licence?

I am developing an application, in which I am using mupdf library. Do I require any license (for mupdf library), so I can upload my app to Google Play Store?
Bhavin Sorathiya
  • 141
  • 1
  • 12
0
votes
1 answer

android ndk - strange OutOfMemory error without memory leak

I'm working at a pdf reader app by using the native library from muPDF. Unfortunately I'm encountering an OOM error after a lot of swiping through the pages. I'm using the following code to get some insights in the memory behavior (I've also used…
tobi_b
  • 1,218
  • 1
  • 12
  • 21
0
votes
2 answers

How to convert the pdf document to xml and get the section which contains the table data.

There is a pdf document,I want to convert it to xml or html. Since the pdf document contains some tables,when it have converted to xml or html,I can not know which is table data and which is text. I want to get tables data to store the…
allen
  • 250
  • 4
  • 13
0
votes
0 answers

Installing MuPDF on Linux for use with PHP

How would I go about building muPDF so I can use it with PHP through maybe exec? I know this person has listed out instructions for installing onto linux at: https://neerajkarimpuzha.wordpress.com/2012/07/20/compiling-mupdf-from-source/ However,…
eqiz
  • 1,521
  • 5
  • 29
  • 51
0
votes
2 answers

How to get PDF meta data using MUPDF

How to get pdf meta-data using MuPdf in Android ? I'm using MuPdf V1.7. I can get Author & PDF name but I cannot get creation date, creator and etc. I used below function to get information: fz_lookup_metadata(ctx, glo->doc, FZ_META_INFO_TITLE,…
0
votes
1 answer

MuPDF fit to screen issue android

I am creating an application where I need to show PDFs rendering. For that purpose I successfully installed the MuPDF library and I'm able to see PDFs successfully. Now I am facing an issue. I am not able to see PDFs fit to screen. I followed this…
Jay Vyas
  • 2,674
  • 5
  • 27
  • 58
0
votes
2 answers

Adding Library to project in Android Studio

I am working with mupdf library for rendering pdf files in my android application. For that i built mupdf library using ndk and different tools. Now i want to add this compiled code to my project in android studio. I am quite new to android studio…
Jay Vyas
  • 2,674
  • 5
  • 27
  • 58