document-viewer icon indicating copy to clipboard operation
document-viewer copied to clipboard

Update MuPDF to 1.12

Open KrasnayaPloshchad opened this issue 7 years ago • 6 comments

With MuPDF 1.12 you could making build easier. Here is the release notes copied from official website:

MuPDF 1.12.0 (2017-12-13)

You can now download the 1.12.0 release.
MuPDF 1.12-rc1 (2017-11-23)

The release candidate for version 1.12 is now available!

This release has a new Android SDK which is easier to use.

These are the git repositories for the SDK projects:

    mupdf-android-fitz.git has the JNI bindings in a library.
    mupdf-android-viewer.git has the viewer as an activity in a library.
    mupdf-android-viewer-mini.git has the minimalist viewer as an activity in a library. 

There are binary packages for these libraries in our Maven repository:

    com.artifex.mupdf:fitz:1.12.+
    com.artifex.mupdf:viewer:1.12.+
    com.artifex.mupdf:mini:1.12.+ 

Color Management:

    LCMS2 library for color management.
    CMYK rendering with overprint simulation.
    Spot color rendering.
    Transparency rendering fixes. 

Structured text output improvements:

    Reworked structured text API.
    Faster text searching.
    Highlight and copy text by selecting lines instead of by area.
    New semantic XHTML output format.
    New layout preserving HTML output format. 

Features and improvements:

    Improved non-AA rendering with new scan converter.
    Improved LARGEFILE support.
    Improved TIFF support.
    Improved documentation.
    PCLm output.
    PSD output.
    New "mutool trace" tool.
    New "mutool sign" tool (work in progress).
    Text redaction (work in progress). 

Lots of bug fixes. 

KrasnayaPloshchad avatar Dec 18 '17 14:12 KrasnayaPloshchad

Seems difficult to maintain our C part 😢 I'm working to switch to Java API. See #267.

sss avatar Dec 24 '17 03:12 sss

Phase note that it (probably) fixes many security issues

ildar avatar Feb 24 '18 06:02 ildar

Updated to the latest MuPDF version on dev branch

matsievskiysv avatar Jul 29 '20 20:07 matsievskiysv

I am going though apps that use old native libraries on F-Droid: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11496/

The currently used MuPDF 1.11 from 2017-04-11 seems to have 27 known security issues, accounting for the 4 patched. https://github.com/SufficientlySecure/document-viewer/commits/v2.8.2/document-viewer/jni/mupdf https://github.com/SufficientlySecure/document-viewer/commit/0bfb13b1b65cc27145b4526a3c2564ecdb468674

MuPDF 1.20.0 is now out: https://mupdf.com/releases/history.html

What is the status of this?

SkewedZeppelin avatar Aug 02 '22 08:08 SkewedZeppelin

@SkewedZeppelin AFAIK this project does not have a maintainer.

matsievskiysv avatar Aug 02 '22 11:08 matsievskiysv

Maybe it would be sensible to fork it? There was some work done by @matsievskiysv and @sss . Maybe just coordinate it a bit?

woj-tek avatar Mar 29 '23 13:03 woj-tek