From 6f41573fc52d5adeba486a7ed66a35dc76f0d532 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 1 Feb 2005 13:11:20 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198355 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/pdf/PDFState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/pdf/PDFState.java b/src/java/org/apache/fop/pdf/PDFState.java index 5266d3a10..f2ebe6ea9 100644 --- a/src/java/org/apache/fop/pdf/PDFState.java +++ b/src/java/org/apache/fop/pdf/PDFState.java @@ -324,7 +324,7 @@ public class PDFState { 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; -- 2.39.5