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

iOS #include "mupdf/fitz.h" not found issue

I am integrating muPDF library in my projects.I already update cocopods and install pods again. Its showing an issue. #include "mupdf/fitz.h" library not found. Any possible solution for this issue ?
Jamshed Alam
  • 12,424
  • 5
  • 26
  • 49
3
votes
1 answer

Android, Attempting to view a PDF within my Xamarin android application using muPDF

I am attempting to view a PDF internally within my application using muPDF. I have followed theses instructions to install the package onto my project: https://www.nuget.org/packages/Askaiser.Android.MuPDF/ Here's how I implemented my code: File…
afontalv
  • 313
  • 1
  • 4
  • 12
3
votes
1 answer

Which compiler to use when running ndk-build on mupdf for OSX?

I want to use mudf in my Android Studio project for viewing/editing PDF files, and I'm following the instructions at http://www.mupdf.com/docs/how-to-build-mupdf-for-android. I have the SDK and the NDK properly set up and the local.properties file…
Aayush Kothari
  • 526
  • 3
  • 20
3
votes
3 answers

How do you create a custom deleter for a unique_ptr class member that wraps a c function which requires 2 arguments?

I am trying to use mupdf to create a program (in Qt) that will allow me to list the objects of the document as a list and allow me to select which objects to render / not render. Since Qt is c++, and I am more comfortable with it, I am trying to…
tenspd137
  • 367
  • 1
  • 12
3
votes
2 answers

Cocoapod "error: could not build module 'UIKit'"

I'm trying to fit MuPDF into a podspec. That's not going as good as I want it to though... error: could not build module 'UIKit' This is the error I get every time I try to pod lib lint. I get it in two flavours though, depending on the exact…
aspyct
  • 3,625
  • 7
  • 36
  • 61
3
votes
2 answers

PDF: extracted images are sliced / tiled

Image extraction with pdfimages and mupdf/mutool works fine so far. Images in PDFs produced with FreePDF are always sliced, so one image results in multiple image files. Is there a trick to avoid this? How can I use the results of pdfshow? Are there…
Juergen
  • 73
  • 1
  • 5
3
votes
2 answers

How to extract text from pdf document using MuPDF in Android

I am trying to extract text from a PDF file using MuPDF library in Android platform. Is it possible to extract text within a rectangle specified by coordinates (left, top, right, bottom)? Note: I didn't compile the library from source. I am using…
Halil
  • 1,795
  • 1
  • 24
  • 39
3
votes
3 answers

android pdf viewer with vertical paging

I am developing app for android which has pdf to view. The PDF are in build into the app, so I have to just load pdf to view correctly. There should be no option to share and all other stuff, but the user should be able to zoom the pdf. I have used…
Gopal Rathod
  • 191
  • 3
  • 13
3
votes
1 answer

How to use MuPDF library to make a Mac application for viewing XPS documents?

I need to make a Mac application to view XPS documents on Mac. I know that MuPDF is able to render XPS documents . I searched extensively on the web about using MuPDF library to make a mac application for viewing XPS. But I got no any idea to start…
drklrd
  • 51
  • 7
3
votes
2 answers

Error while compiling MuPDF 1.5 using Android NDK

I am facing a problem while compiling the new version of MuPDF 1.5 using Android NDK. Since there are alot of bug issues on the older version 1.4, I decided to upgrade to version 1.5 but unfortunately I've received compilation error messages as…
3
votes
1 answer

Integrating MuPDF library in Android Project

I downloaded "mupdf-1.3-source" and built using Cygwin. Which files should I import in my Android project?
user2637087
  • 65
  • 1
  • 5
3
votes
2 answers

How to integrate MuPDF 1.3 in iOS Project

There is build-in PDF render engine for iOS, but it doesn't solve the "Transparency Flattening" issue. Hence I try to integrate MuPDF 1.3 into project. I tried to use reference the MuPDF project, and it failed. Then I build debug static libraries…
3
votes
0 answers

MuPDF Release Build Issue

Can anyone please guide me how to compile release build of MUPDF , I am having serious problem when I run the mupdf release build on any android it crashes and throws the following error on logcat . 10-28 23:59:33.410: E/AndroidRuntime(26648): FATAL…
Mani
  • 176
  • 3
  • 11
3
votes
3 answers

Mupdf Generate Thumbnail

I implemented E-Book App using Mupdf Library and want to generate thumbnail for each pdf file in my project Could Anyone tell me how to generate This? Thanks in advance
Bibo Wagdy
  • 46
  • 3
3
votes
1 answer

Remove all vector paths from PDF

I'm looking for a way to remove all path objects from PDF file. I suspect that this can probably be done with javascript in Adobe Acrobat, but would really appreciate a tip to do it with ghostscript or mupdf tools. Anyhow any working solution is…
theta
  • 24,593
  • 37
  • 119
  • 159