-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement MuPDF openBuffer #313
Comments
@intrications Which version are we currently using please? |
I think 1.5 plus a few commits later that fixed a bug on Android: http://git.ghostscript.com/?p=mupdf.git;a=commit;h=38402bcf8dfea7b08cb5b3e6948af078d0b3874b Here's the commit: |
I see, so in that case the openBuffer method exhibits the issue explained here: http://stackoverflow.com/questions/22558597/mupdf-how-to-open-pdf-file-with-openbuffer-method So I had to use the 1.7 precompiled binary from MuPDF site, but then I was faced with this issue: http://stackoverflow.com/questions/32136233/mupdf-cannot-recognize-version-marker Any idea on how to get openBuffer working ? Thanks in advance |
@muotaz I don't know I'm afraid. There are multiple open issues on this project about how to update MuPDF as you can see here: #208 (comment). I've tried updating it but I keep getting problems. |
@intrications I think I was able to do it! I used the pre-compiled binary as I told you and then added some native library method declarations, added the cookie class, and modified drawPage method signature to conform to the new version (I have compared the sample MuPDF app and and went through the C code). And the openBuffer is working now. |
Hello there,
I am trying to implement MuPDF openBuffer method, but I can't find the SO version in use in the project.
So, which MuPDF is being used in Librelio?
The text was updated successfully, but these errors were encountered: