[Poppler-bugs] [Bug 86388] Page not rendered - text is wrong colour

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 24 08:43:45 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=86388

--- Comment #26 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to David Hedley from comment #25)
> The patch now applied cleanly thanks, however it makes no different to my
> output.
> 
> Given I appear to be getting different results to other people, is there a
> dependency on any external library or code that I can check?

Are You sure that You have lcms2 installed and poppler compiled against it?
(lcms1 should also work, but I haven't tested it). Without lcms the PDF can't
be rendered correctly by poppler, because the PDF doesn't specify an alternate
colorspace for the ICC based colorspace. In this case, NO ICC support and NO
alternate colorspace, the PDF spec says: 

If this entry is omitted and the conforming reader does not understand
the ICC profile data, the colour space that shall be used is DeviceGray,
DeviceRGB, or DeviceCMYK, depending on whether the value of N is 1, 3, or
4, respectively.

N is here 3, so DeviceRGB will be taken, but that's definitely wrong because
the input values are LAB values. But this is not detectable when there is no
ICC support, we get this information from the profile!!!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20141124/cec90d1f/attachment.html>


More information about the Poppler-bugs mailing list