From: Simon Steiner Date: Fri, 29 Jul 2016 13:09:44 +0000 (+0000) Subject: XGC-105: AFP rounded corners not in CMYK X-Git-Tag: fop-2_2~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b40c1be43c0f464584670dddd265da19ab8d6ab0;p=xmlgraphics-fop.git XGC-105: AFP rounded corners not in CMYK git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1754512 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/fop-core/src/main/java/org/apache/fop/render/afp/AFPPainter.java b/fop-core/src/main/java/org/apache/fop/render/afp/AFPPainter.java index 3fae2e0a0..72e83fa67 100644 --- a/fop-core/src/main/java/org/apache/fop/render/afp/AFPPainter.java +++ b/fop-core/src/main/java/org/apache/fop/render/afp/AFPPainter.java @@ -193,7 +193,7 @@ public class AFPPainter extends AbstractIFPainter { //AFP doesn't support alpha channels hints.put(ImageProcessingHints.TRANSPARENCY_INTENT, ImageProcessingHints.TRANSPARENCY_INTENT_IGNORE); - hints.put("CMYK", getDocumentHandler().getFS45()); + hints.put("CMYK", getDocumentHandler().getPaintingState().isCMYKImagesSupported()); return hints; } diff --git a/fop/lib/xmlgraphics-commons-svn-trunk.jar b/fop/lib/xmlgraphics-commons-svn-trunk.jar index 4942340cc..6f2cb65c5 100644 Binary files a/fop/lib/xmlgraphics-commons-svn-trunk.jar and b/fop/lib/xmlgraphics-commons-svn-trunk.jar differ