Bug#1001525: ICC support should not be disabled in mupdf

2021-12-11 Thread Gregory Heytings


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.


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




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.

Bug#1001525: ICC support should not be disabled in mupdf

2021-12-11 Thread Bastian Germann

On 11.12.21 16:09, Gregory Heytings wrote:


Package: mupdf
Version: 1.19.0+ds1-1

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.



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



Bug#1001525: ICC support should not be disabled in mupdf

2021-12-11 Thread Gregory Heytings



Package: mupdf
Version: 1.19.0+ds1-1

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.