devongovett/pdfkit — Issue #49: Use of CMYK color values renders invalid PDF
Author: bernharduw
Created: 2011-11-16 11:47:05+00:00
State: open

When I use cmyk color values ( e.g. .strokeColor([0,0,0,100]), the PDF is created successfully, but is not readable by any PDF viewer, even if I only use CMYK colors. CMYK colors were introduced by this commit: https://github.com/devongovett/pdfkit/commit/6a9d2f8fffca94c43432eab9fda873af8245e264

I think there has to be a document-wide property that defines the correct color space (something like DeviceCMYK).