I just added a new version of the cmyk/rgb-icc patch to http://issues.apache.org/bugzilla/show_bug.cgi?id=40729
The changes compared to the previous patch are related to the fact that in order to add equivalent features to batik it made more sense to restructure some things.
What is not clear to me is how the dependencies between the Batik and Fop are managed.
I added a ColorExt class that would also be used in a future Batik change. I therefore changed fop’s build.xml to add that the class to the transcoder jar assuming Batik would eventually take it from there, but to be honest, I am far from sure that is the correct way to deal with this.
Let me know if something else is needed.