Browse Source

FOP:2344 - SVG bleeds color between elements when outputting to AFP

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1569381 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_0
Robert Meyer 10 years ago
parent
commit
342e75cf8a
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      src/java/org/apache/fop/afp/svg/AFPTextHandler.java

+ 2
- 3
src/java/org/apache/fop/afp/svg/AFPTextHandler.java View File

@@ -120,9 +120,8 @@ public class AFPTextHandler extends FOPTextHandlerAdapter {

// 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;

Loading…
Cancel
Save