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

Usingt Mupdf and a list view in two seperate activities eventually runs out of memory

I have an app that uses a list adapter to generate a list of items that when clicked us Mupdf to view the item (a pdf) If I bounce back and forth between views I will eventually run out of memory and crash. How do I make sure that each view is…
silversunhunter
  • 1,219
  • 2
  • 12
  • 32
0
votes
2 answers

How I can resize the text of the pages using mupdf in android

I port my own app to read pdf files in android using mupdf, all is working fine here, but the text on the pages appear very small, so how I can resize the font or scale the view to be more readable for a myopic User? Someone can help-me
0
votes
1 answer

GestureDetector working only on part of the activity

I have an activity that implements onGestureListener and I have some code in its onFling method. The xml layout I am using for this activity contains a Linear layout (vertical) wrapping a relative layout and a custom layout class. This custom layout…
Shreya
  • 241
  • 1
  • 2
  • 11
0
votes
1 answer

Building MuPdf and registering document handlers

Here we have a question, an answer and some happy people. But I've got a different situation, I'm coding in C++ and I'm going to build MuPdf myself. So, when i add fz_register_document_handlers function before fz_open_document_with_stream I'll get 5…
Amir
  • 770
  • 8
  • 21
0
votes
1 answer

How to get highlighted text (String) in MuPdf?

I am using MuPdf to display pdf file and its successfully implemented but now i want to get selected (highlighted) text? Thanks in Advance.
Hiren
  • 285
  • 1
  • 2
  • 13
0
votes
0 answers

ViewPager error :The specified child already has a parent. while calling a fragment in viewpager adapter?

I have implemented many ways to solve this problem but it come again and again . I have a Fragment EbookFragment in which i am adding a ViewPager and in ViewPager i am calling MUPDFActivity class which i converted to a fragment. I checked…
Sam
  • 75
  • 8
0
votes
0 answers

How to set an image as background of an annotation in MuPDF?

I want to set an image as background of an annotation in MuPDF using following code: fz_context *ctx = doc->ctx; const fz_matrix *page_ctm = &annot->page->ctm; image_document *image_doc = (image_document *)fz_open_document(ctx,…
0
votes
1 answer

Could not able to run the MuPDF Project

I am having code of MuPDF Library which i want to use in my application. I tried to import the project and tried to run it. But the problem is that it run properly and shows the list of PDF files at the starting of an application ,but as i select…
GrIsHu
  • 29,068
  • 10
  • 64
  • 102
0
votes
1 answer

PDF to bitmap image conversoin using mupdf in arm

How can I use the mupdf API to convert pdf to bitmap in arm platform with the C language?
pang1567
  • 125
  • 7
0
votes
2 answers

Unable to convert mupdf into static library on iOS

I am trying to convert mupdf (latest source) to a static library. I cloned the source and am able to run it on my iPad. However I am unable to compile it into a static library. I followed the instructions in…
vivek
  • 41
  • 1
  • 6
0
votes
1 answer

android mupdf, draw figure on the pdf page without using annotaion

How I can draw line or figure on pdf page without using annotation. If mupdf does not have this function then maybe other library you can advise. Thanks.
Sabrak
  • 21
  • 3
0
votes
1 answer

android pdfview strange crash

I am trying to use apv pdfview, based on mupdf, and everything works fine, but sometimes, when trying to open pdf, it just kill pdf-view-activity, with some strange logs: 1041-1041/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** ***…
orium
  • 3,743
  • 2
  • 24
  • 27
0
votes
1 answer

mupdf render jpeg2000 lose color?

I am working on an android project, which use vudroid, which in turn use mupdf version 0.5. Vudroid remove the original openjpeg support of mupdf, I have ported the mupdf version 1.5's openjpeg support. But I encounter a new problem, color…
Jichao
  • 40,341
  • 47
  • 125
  • 198
0
votes
0 answers

How to add strick notes?

I searched a lot, but didn't find any relevant way, link or hint to achieve this feature. Can someone share some idea on how to achieve the aforementioned functionality? It will be of great help to me. Thanks ~
Johns
  • 19
  • 3
0
votes
0 answers

ndk-build: command not found-mupdf compilation failed

I'm trying to compile Mupdf. I followed the steps given in the mupdf documentation: http://www.mupdf.com/docs/how-to-build-mupdf-for-android But I'm getting a error at this step: ~/src/mupdf/platform/android $ ndk-build -ndk-build: command not…
Sangeetha Pinto
  • 21
  • 1
  • 2
  • 9