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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 10 03:27:24 PDT 2015


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

            Bug ID: 92381
           Summary: Poppler doesn't display text in separation colorspace
                    with alternate colorspace DeviceGray
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: Thomas.Freitag at alfa.de

Created attachment 118794
  --> https://bugs.freedesktop.org/attachment.cgi?id=118794&action=edit
PDF with text in separation colorspace

The text in the attached PDF is not displayed. Reason for it is the usage of a
separation colorspace:

cs /CS0
scn 1

where CS0 is something like

[/Separation/Black/DeviceGray 10 0 R]

I looked into the source code and figured out that "scn 1" results in white
color, i.e. RGB(255,255,255). But the PDF spec says for separation colorspaces:

A colour value in a Separation colour space shall consist of a single tint
component in the range 0.0 to 1.0. The value 0.0 shall represent the minimum
amount of colorant that can be applied; 1.0 shall represent the maximum. Tints
shall always be treated as subtractive colours, even if the device produces
output for the designated component by an additive method. Thus, a tint value
of 0.0 denotes the lightest colour that can be achieved with the given
colorant, and 1.0 is the darkest.

Therefore "scn 1" should result in RGB(0,0,0). 

I have already a solution for it, but I want to regtest it first, because I
deeply wonder why we haven't encounter this before!

-- 
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/20151010/eac5d9c1/attachment.html>


More information about the Poppler-bugs mailing list