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

How to save annotation on password protected pdf using MuPDF

I am trying to save annotation for password protected pdf. I am able to draw annotation and save it. But as soon as I go back and come again in activity I cannot see my annotation. However strange thing is I can see annotation box there but not the…
Manoj
  • 2,799
  • 5
  • 30
  • 49
4
votes
1 answer

How to Specify fonts for Text fields using muPDF

I am using muPDF library to add fields in existing PDF Documents. I have successfully added a checkbox by defining its appearance. But Text Fields are a problem as they need a Font Resource. I cant figure out how to add fonts in a PDF…
Tarun
  • 41
  • 4
4
votes
1 answer

Flip horizontally like flipboard with MuPDF

I have implemented the MuPDf in android to open,view,search,setting bookmarks etc for a PDF. Now i want the animation effect of horizontal flip i.e. similar to be like used in the FlipBoard Application in horizontal manner. I also need to know that…
Anchit Mittal
  • 3,412
  • 4
  • 28
  • 48
4
votes
1 answer

export mupdf and android studio 0.5.4

First: I want to view pdf files in my android app. I googled and analyzed and decided to use mupdf For a start I use this guide to build demo project and it's work fine in eclipse. But I need to run it in Android studio. I try to export from eclipse…
IliaEremin
  • 3,338
  • 3
  • 26
  • 35
4
votes
1 answer

MUPDF UnsupportedOperationException when open the pdf

I am using MUPDF for an android project, but there is an issue by some android users. I got report as following: java.lang.UnsupportedOperationException: Not supported E/AndroidRuntime( 4677): at…
Xiabili
  • 486
  • 5
  • 20
4
votes
4 answers

MuPDF Android Pdf fit to the screen

I succesfully installed MuPDF for one of my Android Apps. But the problems is, while rendering I cannot fit the PDF to the screen. Can anybody please suggest me how to achieve this. Thanks!
4
votes
2 answers

Annotations of pdf using MuPDF on Android

I am developing an android application which should help users to annotate the PDF file. I am using MuPDF to parse the PDF on android device. I am able to read the PDF but unable to figure out a way which will help me implement annotations features…
Shobhit
  • 407
  • 5
  • 15
4
votes
1 answer

android mupdf for MIPS and x86 arch

im currently using MuPDF in my android application, when i built it from source (based on ReadMe.txt) it's only generate .so file for armeabi and armeabi-v7a but not x86 and MIPS, when i run the app on arm arch devices (Samsung Galaxy Tab 7), it…
abhie
  • 124
  • 1
  • 10
4
votes
2 answers

How to manage a project on GitHub that has an external git dependency not stored on GitHub

I'm working on a project that I'd like to store on GitHub. This project uses mupdf, which is hosted on it's own git server, e.g. git://git.ghostscript.com/mupdf.git I want to be able to get the latest changes from mupdf, but also keep changes that…
ch3rryc0ke
  • 2,793
  • 1
  • 22
  • 28
4
votes
2 answers

How do you enable "#ifndef/#endif" blocks in makefile builds?

I'm trying to enable debugging options in MuPDF. For some reason they have used #ifndef NDEBUG and #endif greying out code I want to use. I searched throughout the library but couldn't find any traces of NDEBUG defined anywhere. I've managed to work…
Some Noob Student
  • 14,186
  • 13
  • 65
  • 103
4
votes
1 answer

Editing a PDF with MuPDF

I am using mupdf to render PDFs in my c++ application but I also need to edit PDFs (inserting a picture for example) but I cannot for the life of my figure out how - it's not documented very well. Ghostscript says that there is an API in mupdf to…
Trevor
  • 105
  • 2
  • 4
3
votes
2 answers

how to get specified text pos through xpdf or mupdf?

I want to extract some specified text in pdf files and the text position. I know xpdf and mupdf can parse pdf files,so i think they may help me to fulfill this task. But how to use these two lib to get text position?
PDF1001
  • 173
  • 3
  • 13
3
votes
0 answers

Is it possible to change the keybindings in MuPDF?

The default keybindings are listed in the MuPDF manual, but is there a way to remap any of the shortcuts (on Windows)?
ban_javascript
  • 339
  • 1
  • 4
  • 16
3
votes
0 answers

Does mupdf have a config file that allows for it to be open in full-screen mode?

Every time I open mupdf, my first command is f to get it in full-screen mode. Can that be automated through a config file?
3
votes
2 answers

How to install mupdf on heroku?

I've upgraded to rails 5.2 and am implementing ActiveStorage. ActiveStorage uses mutool for PDF processing. I have successfully installed mutool locally using homebrew. mutool is a bit confusing. rails docs claim to require "mutool", homebrew…
hellion
  • 4,602
  • 6
  • 38
  • 77
1 2
3
22 23