This patch provides CMYK and GRAY color support in addition to RGB for the PSGenerator by making use of PSGraphics2D.establishColor(Color).
Created attachment 20266 [details] patch file
Patch applied. Thanks, Adrian. http://svn.apache.org/viewvc?view=rev&rev=548990 I modified your patch to avoid a circular dependency: before: PSGraphics2D -> PSGenerator with your patch: PSGraphics2D -> PSGenerator -> PSGraphics2D