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 je...@apache.org on 2005/02/01 14:11:20 UTC
cvs commit: xml-fop/src/java/org/apache/fop/pdf PDFState.java
jeremias 2005/02/01 05:11:20
Modified: src/java/org/apache/fop/pdf PDFState.java
Log:
Both fore- and background colors are initially black. This fixes a bug where in a certain situation a white background resulted in a black rectangle being painted because the color operators are only generated if the color changes.
Revision Changes Path
1.6 +1 -1 xml-fop/src/java/org/apache/fop/pdf/PDFState.java
Index: PDFState.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/pdf/PDFState.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- PDFState.java 19 Jan 2005 21:48:12 -0000 1.5
+++ PDFState.java 1 Feb 2005 13:11:20 -0000 1.6
@@ -324,7 +324,7 @@
public class Data implements Cloneable, Serializable {
public Color color = Color.black;
- public Color backcolor = Color.white;
+ public Color backcolor = Color.black;
public Paint paint = null;
public Paint backPaint = null;
public int lineCap = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org