Re: Separation Space

2015-04-02 Thread Tilman Hausherr
Am 02.04.2015 um 08:59 schrieb Tilman Hausherr: I'll think about whether to make a check for the current colorspace in the other setNonStrokingColor methods if needed. I am mistaken. The "g" operator also sets the colorspace to DeviceGray. From the spec: G: Set the stroking colour space to

parseCOSStream defined twice

2015-04-02 Thread Andrea Vacondio
I see parseCOSStream is defined in BaseParser and COSParser is it on purpose? They kinda look like duplicates so I was wandering if it's a mistake and one can go.

Re: Separation Space

2015-04-02 Thread Tilman Hausherr
Hmm, you're right there, but the javadoc says that the command is for DeviceGray. I looked in the source code, you have to use the command you used for DeviceN, this one uses the correct command. /** * Set the color components of current non stroking colorspace. * * @param