Pārlūkot izejas kodu

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
tags/fop-0_95beta
Andreas L. Delmelle pirms 16 gadiem
vecāks
revīzija
12934d1bd9
2 mainītis faili ar 7 papildinājumiem un 12 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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">

Notiek ielāde…
Atcelt
Saglabāt