[Poppler-bugs] [Bug 92381] Poppler doesn't display text in separation colorspace with alternate colorspace DeviceGray

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 30 02:50:10 PDT 2015


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

--- Comment #8 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
To be honest, the spec says indeed:

At the moment the colour space is set to a Separation space, the conforming
reader shall determine whether the device has an available colorant
corresponding to the name of the requested space. If so, the conforming reader
shall ignore the alternateSpace and tintTransform parameters; subsequent
painting operations within the space shall apply the designated colorant
directly, according to the tint values supplied.

But then I stopped reading, but the next paragraph restricts this:

The preceding paragraph applies only to subtractive output devices such as
printers and imagesetters. For an additive device such as a computer display, a
Separation colour space never applies a process colorant directly; it always
reverts to the alternate colour space as described below. This is because the
model of applying process colorants independently does not work as intended on
an additive device.

So my patch is completely correct only for the method
GfxSeparationColorSpace::getCMYK where a subtractive output device is
simulated, but not the methods GfxSeparationColorSpace::getGray and
GfxSeparationColorSpace::getRGB, which an additive device uses. That's probably
also the reason, why only acrobat and even not ghostscript shows the text,
acrobat always simulates a printing preview.

But without the changes in getGray() and getRGB() neither pdftoppm nor evince
nor okular shows the text, just if pdftoppm compiled with CMYK and then the
usage of one of the CMYK options would show it

-- 
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/20151030/84a3cd76/attachment.html>


More information about the Poppler-bugs mailing list