DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40729>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40729





------- Additional Comments From [EMAIL PROTECTED]  2006-11-13 04:25 -------
The problem is in the PDFColor constructor

Replacing the line 
      if(cs!=null && cs.getType()==ColorSpace.TYPE_CMYK) {
with 
      if(cs!=null && cs instanceof CMYKColorSpace) {

fixes the issue I think.

Not entirely sure this is the most elegant/performant/full proof solution.

Btw, sorry for the low quality of this patch (not having any real sponsors made
me take shortcuts, like not making *any* unit tests). Always wrong.

Anyway, should I submit a "real" fop patch for this or is this entry sufficient?



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to