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

How to write own implementation of mupdf in Java?

I am writing my own Java code to work with http://www.mupdf.com/docs/example.c for my Android app. I simply need to display single page pdf files without any extra options. So I did not use the MupdfCore.java, instead I modified the above .c code to…
Shantanu Paul
  • 706
  • 10
  • 26
0
votes
1 answer

Mupdf Android make generate not working

I can't able to build the mupdf android. I am getting the following error while executing the command make generate make generate CC build/debug/cmapdump.o /bin/sh: cc: command not found Makefile:157: recipe for target 'build/debug/cmapdump.o'…
Guna
  • 121
  • 8
0
votes
1 answer

Writing an AIR Native Extension using MuPDF render engine

I'm experimenting on using MuPDF as render engine for AIR targeting Android and iOS. To achieve this, I'm trying to make an AIRNativeExtension (.ane). The usecase for the .ane is like this: open a single page .pdf render a (possibly zoomed) section…
T. Richter
  • 369
  • 1
  • 13
0
votes
1 answer

Is there any way to display the pages of a pdf file in mupdf, the same way as evince does?

I really like the simplicity of mupdf, but I can't seem to find any way to configure it a bit more to my liking. I'd like to have mupdf render the pages like evince does, so I don't have to switch pages using "." and ",", instead I just want to…
jaapz
  • 989
  • 8
  • 26
0
votes
1 answer

Adding views to MuPDFReaderView

I am currently using the MuPDF library from here: http://www.mupdf.com/ I've successfully compiled the library and everything is working great, though I am at a loss on how to achieve the following. I want to attach views, such as button views,…
user1745504
0
votes
0 answers

Run make command on GIT in windows

I am compiling MuPDF Library through GIT and NDK but failed to run command as make generate. Please suggest any solution regarding running make command on GIT in windows. Thanks in advance.
Sanat Pandey
  • 4,081
  • 17
  • 75
  • 132
0
votes
2 answers

I have inserted an image into pdf digital signature layer n2 using mupdf, but it not showed up

I am using mupdf(git clone at commit 2014/3/5 4:05) to sign a pdf. And I've already succeeded to sign a digital signature in pdf with function 'pdf_sign_signature'. Now I'm trying to insert an image into layer n2 of that signature when I'm signing…
jellyice
  • 1
  • 2
0
votes
1 answer

Issue in compiling the muPDF library

I am getting the compilation issue in muPDf library for android.I am running ndk build in ubuntu_12.04. jni/../../pdf/pdf_cmap_table.c:5:35: fatal error: ../generated/cmap_cns.h: No such file or directory compilation terminated. …
Jagdish
  • 2,418
  • 4
  • 25
  • 51
0
votes
1 answer

Turn off "smooth line art" rendering feature in MuPDF

I develop an e-book reader for Android and I'm using MuPDF library. I have some e-magazines that are PDF/X-1 standard compatible, which is unfortunately not fully compatible with transparency features, therefore when you would open a digital…
0
votes
1 answer

Android Mupdf 1.3 Annotations

With the latest version of mupdf (1.3), annotations are supported. Though i dont know how. Did someone use them already? All samples so far were running on 1.1 without any code regarding annotations and theres no documentation. Thanks!
MLaw
  • 31
  • 2
0
votes
1 answer

How to read file from asset folder in android with MuPDF?

I am building an app for viewing pdf file. I could build MuPDF library. I want my app to open only pdf files which I will keep in /assets folder. Source code supplied comes with code which reads file from SD card. I want to read and display files…
Avinash Sahu
  • 249
  • 3
  • 19
0
votes
2 answers

any one using mupdf in their winrt app

I'm using mupdf component in my Windows 8 app. When I tried to upload it on store it is saying unsupported api. How to avoid this? It is pointing to mupdf references file. When I remove that dll file my app is not running. Here is my error…
0
votes
1 answer

windows 8 Supported API test FAILED

i'm working on windows 8 pdf reader i used MUPDF source sample it's working fine but when i tried for certification it giveing following errors. can any one please tell me how to rectify it ◦API GetModuleFileNameW in kernel32.dll is not supported…
0
votes
1 answer

Error compiling mupdf library android

I am compiling mupdf 1.2 from here it does not have any sub directory generated but when I try to compile uding $ndk-build in cygwin this error occurs jni/../../pdf/pdf_cmap_table.c:5:35: fatal error: ../generated/cmap_cns.h: No such file or…
Aashutosh
  • 37
  • 10
0
votes
1 answer

errors while compiling the MuPDF for android platform

I want to develop and android application which will help annotate the PDF files in android. Thus, I am using MuPDF to read and Parse the PDF files in android. I am trying to build it as specified in…
Shobhit
  • 407
  • 5
  • 15