]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla 52657: instream foreign object (svg) coloration incorrect
authorChris Bowditch <cbowditch@apache.org>
Mon, 20 Feb 2012 14:50:08 +0000 (14:50 +0000)
committerChris Bowditch <cbowditch@apache.org>
Mon, 20 Feb 2012 14:50:08 +0000 (14:50 +0000)
Submitted by Glenn Adams

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1291292 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/pdf/PDFImageHandlerSVG.java

index 2b02b60fb5ebb36f2805120bb0c2ce79d8cc7188..b5b13e9350eb7aa86f476b645f317767acceb8ec 100644 (file)
@@ -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()) {