From: Chris Bowditch Date: Mon, 20 Feb 2012 14:50:08 +0000 (+0000) Subject: Bugzilla 52657: instream foreign object (svg) coloration incorrect X-Git-Tag: fop-1_1rc1old~129 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fa6dc48793a4eb7476282141c1314f1198371a67;p=xmlgraphics-fop.git Bugzilla 52657: instream foreign object (svg) coloration incorrect Submitted by Glenn Adams git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1291292 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/render/pdf/PDFImageHandlerSVG.java b/src/java/org/apache/fop/render/pdf/PDFImageHandlerSVG.java index 2b02b60fb..b5b13e935 100644 --- a/src/java/org/apache/fop/render/pdf/PDFImageHandlerSVG.java +++ b/src/java/org/apache/fop/render/pdf/PDFImageHandlerSVG.java @@ -153,8 +153,8 @@ public class PDFImageHandlerSVG implements ImageHandler { MarkedContentInfo mci = pdfContext.getMarkedContentInfo(); generator.beginMarkedContentSequence(mci.tag, mci.mcid); } - generator.setColor(Color.black, false); - generator.setColor(Color.black, true); + generator.updateColor(Color.black, false, null); + generator.updateColor(Color.black, true, null); if (!scaling.isIdentity()) { if (log.isTraceEnabled()) {