Browse Source

Bugzilla 43274: Fix for erroneous usage of inherited color-values in SVG context. Thanks to ckohrn.AT.tng.de.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@572763 13f79535-47bb-0310-9956-ffa450edef68
pull/23/head
Andreas L. Delmelle 17 years ago
parent
commit
c9b9f46a89
2 changed files with 7 additions and 12 deletions
  1. 4
    12
      src/java/org/apache/fop/svg/PDFGraphics2D.java
  2. 3
    0
      status.xml

+ 4
- 12
src/java/org/apache/fop/svg/PDFGraphics2D.java View File

@@ -719,13 +719,9 @@ public class PDFGraphics2D extends AbstractGraphics2D {
}

c = getColor();
if (graphicsState.setColor(c)) {
applyColor(c, false);
}
applyColor(c, false);
c = getBackground();
if (graphicsState.setBackColor(c)) {
applyColor(c, true);
}
applyColor(c, true);

Paint paint = getPaint();
if (graphicsState.setPaint(paint)) {
@@ -1718,13 +1714,9 @@ public class PDFGraphics2D extends AbstractGraphics2D {
}

c = getColor();
if (graphicsState.setColor(c)) {
applyColor(c, true);
}
applyColor(c, true);
c = getBackground();
if (graphicsState.setBackColor(c)) {
applyColor(c, false);
}
applyColor(c, false);

Paint paint = getPaint();
if (graphicsState.setPaint(paint)) {

+ 3
- 0
status.xml View File

@@ -28,6 +28,9 @@

<changes>
<release version="FOP Trunk">
<action context="Code" dev="AD" type="fix" fixes-bug="43274" due-to="ckohrn.at.tng.de">
Fixed erroneous usage of inherited color-values in SVG.
</action>
</release>
<release version="0.94" date="24th August 2007">
<action context="Code" dev="JM" type="fix">

Loading…
Cancel
Save