Affects Version/s: None
Fix Version/s: 1.8.0
I have a program that reads graphic commands from a postscript file and draws a logo on existing PDF pages.
PDF commands are written using PDPageContentStream which works OK except when I pass colors in CMYK color space - in this case the colors are "off".
It appears that setStrokingColor(Color color) and setNonStrokingColor(Color color) set the magenta component wrong, they pass yellow instead.
Here is the problematic line. Notice the second argument, it should be colorComponents, not colorComponents
The patch and a unit test are attached.