You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by rm...@apache.org on 2014/02/18 16:16:45 UTC
svn commit: r1569381 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/svg/AFPTextHandler.java
Author: rmeyer
Date: Tue Feb 18 15:16:45 2014
New Revision: 1569381
URL: http://svn.apache.org/r1569381
Log:
FOP:2344 - SVG bleeds color between elements when outputting to AFP
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/svg/AFPTextHandler.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/svg/AFPTextHandler.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/svg/AFPTextHandler.java?rev=1569381&r1=1569380&r2=1569381&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/svg/AFPTextHandler.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/svg/AFPTextHandler.java Tue Feb 18 15:16:45 2014
@@ -120,9 +120,8 @@ public class AFPTextHandler extends FOPT
// set the color
AFPPaintingState paintingState = g2d.getPaintingState();
- if (paintingState.setColor(color)) {
- graphicsObj.setColor(color);
- }
+ paintingState.setColor(color);
+ graphicsObj.setColor(color);
// set the character set
int fontReference = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org