#1001525 ICC support should not be disabled in mupdf

Package:
mupdf
Source:
mupdf
Description:
lightweight PDF viewer
Submitter:
Gregory Heytings
Date:
2021-12-11 17:57:08 UTC
Severity:
normal
#1001525#5
Date:
2021-12-11 15:09:57 UTC
From:
To:
Debian has disabled ICC support in mupdf.  Because of this colors are not
always rendered correctly.  In bug#952724 the "ICC support is not
available" has been (almost) disabled.  Adding ICC support is easy:

git submodule add git://git.ghostscript.com/thirdparty-lcms2.git
thirdparty/lcms2

and comment the FZ_ENABLE_ICC=0 and USE_SYSTEM_LCMS2=yes lines in
debian/rules.

#1001525#10
Date:
2021-12-11 17:05:01 UTC
From:
To:

I will only enable this if Debian's lcms2 version works. I am happy to take patches.

#1001525#15
Date:
2021-12-11 17:46:35 UTC
From:
To:
That's not possible, at least not currently, see https://raw.githubusercontent.com/plangrid/ghostpdl/master/lcms2mt/doc/WhyThisFork.txt .

What is the problem with the above?  The lcms2mt library is built into the
four mupdf binaries, and each one is about 1.5% larger.