xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sstei...@apache.org
Subject svn commit: r1713620 - in /xmlgraphics/fop/trunk: lib/xmlgraphics-commons-svn-trunk.jar src/java/org/apache/fop/render/afp/AFPPainter.java
Date Tue, 10 Nov 2015 11:56:11 GMT
Author: ssteiner
Date: Tue Nov 10 11:56:11 2015
New Revision: 1713620

URL: http://svn.apache.org/viewvc?rev=1713620&view=rev
Log:
FOP-2537: Support CMYK JPEG in AFP

Modified:
    xmlgraphics/fop/trunk/lib/xmlgraphics-commons-svn-trunk.jar
    xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/AFPPainter.java

Modified: xmlgraphics/fop/trunk/lib/xmlgraphics-commons-svn-trunk.jar
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/lib/xmlgraphics-commons-svn-trunk.jar?rev=1713620&r1=1713619&r2=1713620&view=diff
==============================================================================
Binary files - no diff available.

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/AFPPainter.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/AFPPainter.java?rev=1713620&r1=1713619&r2=1713620&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/AFPPainter.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/AFPPainter.java Tue Nov 10 11:56:11
2015
@@ -191,6 +191,7 @@ public class AFPPainter extends Abstract
         //AFP doesn't support alpha channels
         hints.put(ImageProcessingHints.TRANSPARENCY_INTENT,
                 ImageProcessingHints.TRANSPARENCY_INTENT_IGNORE);
+        hints.put("CMYK", getDocumentHandler().getFS45());
         return hints;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message