Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

539 views
Skip to first unread message

Gregory Heytings

unread,
Dec 11, 2021, 10:20:03 AM12/11/21
to

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.

Bastian Germann

unread,
Dec 11, 2021, 12:10:03 PM12/11/21
to
I will only enable this if Debian's lcms2 version works. I am happy to take patches.

Gregory Heytings

unread,
Dec 11, 2021, 1:00:04 PM12/11/21
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.
>
> 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.
0 new messages