mupdf

MuPDF Android Library Vertical Scroll

北慕城南 提交于 2019-12-23 10:07:55
问题 I am using MuPdf Android Library, I want vertical Scroll instead of horizontal page Scrolling, tried everything but failed, googled the problem and found an answer on Stackoverflow and someone answered his question which worked for the Questions Author but I am not getting this solution, putted these methods in ReaderView but by this way I found errors which were related to other activities, kindly help me to where put these methods etc. someone worked on mupdf vertical scrolling? 回答1: As

How to add strick notes?

爱⌒轻易说出口 提交于 2019-12-23 04:28:58
问题 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 ~ 来源: https://stackoverflow.com/questions/26033581/how-to-add-strick-notes

export mupdf and android studio 0.5.4

佐手、 提交于 2019-12-22 08:36:31
问题 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 as gradle project and import to Android Studio. File explorer work, but when I opened pdf I get error: java.lang.ExceptionInInitializerError at com.artifex.mupdfdemo.MuPDFActivity.openFile(MuPDFActivity.java:213) at com.artifex.mupdfdemo

android pdf viewer with vertical paging

白昼怎懂夜的黑 提交于 2019-12-20 15:25:17
问题 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 mupdf but the pdf scrolls horizontally (ie. the pages are side-by-side), I want the pdf to scroll vertically. I have tried everything but I am not getting result. 回答1: You can do by changing the horizontal values to vertical ( change all width

navigating to a specific page with the mupdf android library

筅森魡賤 提交于 2019-12-20 03:12:13
问题 How would I go about navigating to a specific page with the muPDF library? Or is there a way to make the library not remember which page I was last on in that pdf? Uri uri = Uri.parse(path); Intent intent = new Intent(MainActivity.getContext(), MuPDFActivity.class) intent.setAction(Intent.ACTION_VIEW); intent.setData(uri); c.startActivity(intent); //c is context This is how i'm currently opening pdfs. 回答1: You can add page index in Bundle into your intent, load that index in MuPDFActivity

OutOfMemory in MuPdf

北城余情 提交于 2019-12-13 13:41:44
问题 Hello I am using MuPdf library in my project to view documents. The problem is that when you open 3-7 documents in a activity 11 inches on the tablet, i get memory overflow. When you load a new document, all references to the previous document are destroyed, but the image of the document from memory are not removed. objects are created in the memory image of 10-12 megabytes. on tablet the size of 7 inches this problem does not arise. Maybe someone encountered this problem? 回答1: This problem

windows 8 Supported API test FAILED

谁说我不能喝 提交于 2019-12-13 03:24:12
问题 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 for this application type. MuPDFWinRT.dll calls this API. ◦API GetModuleHandleW in kernel32.dll is not supported for this application type. MuPDFWinRT.dll calls this API. ◦API LoadLibraryExW in kernel32.dll is not supported for this application type.

Error in making/building mupdf on Mac OS X

為{幸葍}努か 提交于 2019-12-12 23:29:20
问题 I simply using the make command to make/build the mupdf on Mac OS X Mavericks, from its source. But I get this error: fatal error: 'X11/Xlib.h' file not found However X11 is installed on my Mac, and has an entry in the PATH environment variable as well. Can anyone please help on how to get rid of this error and make/build MuPDF? 回答1: Do you have MacPorts installed? If not, do so. Then run: sudo port -pf install xorg-libX11 This should install (amongst other files) /opt/local/include/X11/Xlib

How to integrate mupdf library?

﹥>﹥吖頭↗ 提交于 2019-12-12 18:22:23
问题 I try to build the library mupdf, using the following sequence https://stackoverflow.com/a/12279638/680267 I can not run command: javah -jni -classpath bin/classes/ -d jni/ com.artifex.mupdf.MuPDFActivity Error: cannot access android.app.Activity class file for android.app.Activity not found I tried to specify the path to the folder with the android-sdk: '/cygdrive/c/Program Files/Java/JDK7/bin/javah.exe' -jni -classpath /cygdrive/c/Android/platforms/android-8/android.jar;/cygdrive/c/Users

Integrate MuPDF Swift - IOS project

£可爱£侵袭症+ 提交于 2019-12-12 03:46:58
问题 After I created a Objective-c class in my project based on JosephH example. I imported it in my bridging header file. I was actually able to make it work using a .pdf file in the main bundle NSString *file = [[NSBundle mainBundle] pathForResource:@"hello-world" ofType:@"pdf"]; . which returns: "/var/containers/Bundle/Application/63F34E6B-75A7-4CC0-9149-9DF2861DF3A2/sempre-editora.app/hello-world.pdf" It did render everything all right, zooming and everything. but when I try to render a file