diff options
author | Robert Meyer <rmeyer@apache.org> | 2014-02-18 15:16:45 +0000 |
---|---|---|
committer | Robert Meyer <rmeyer@apache.org> | 2014-02-18 15:16:45 +0000 |
commit | 342e75cf8a9bff942763520a07be9b955f16c852 (patch) | |
tree | 6cd815fd0eae89bc603bff83d2c5ed7e0de4bfe4 /src/java/org/apache | |
parent | ce86f97648fbc8e168ec9ddb34c5cd340b4ff973 (diff) | |
download | xmlgraphics-fop-342e75cf8a9bff942763520a07be9b955f16c852.tar.gz xmlgraphics-fop-342e75cf8a9bff942763520a07be9b955f16c852.zip |
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
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/afp/svg/AFPTextHandler.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/afp/svg/AFPTextHandler.java b/src/java/org/apache/fop/afp/svg/AFPTextHandler.java index 3e987648e..e8e391bdb 100644 --- a/src/java/org/apache/fop/afp/svg/AFPTextHandler.java +++ b/src/java/org/apache/fop/afp/svg/AFPTextHandler.java @@ -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; |