aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2007-12-14 13:16:06 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2007-12-14 13:16:06 +0000
commit00ba9d896e3138faa1ceeff440dbcfad7808b194 (patch)
treea36570b5cdc3c446b1d5f61794250d9a3f41968a /src/java/org/apache/fop
parent79d9dab416b7676bbb914dcecd80416a422b5c48 (diff)
downloadxmlgraphics-fop-00ba9d896e3138faa1ceeff440dbcfad7808b194.tar.gz
xmlgraphics-fop-00ba9d896e3138faa1ceeff440dbcfad7808b194.zip
Fixed copy constructor
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604185 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/render/afp/AFPGraphics2D.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/afp/AFPGraphics2D.java b/src/java/org/apache/fop/render/afp/AFPGraphics2D.java
index bdd33f3de..a64b77d35 100644
--- a/src/java/org/apache/fop/render/afp/AFPGraphics2D.java
+++ b/src/java/org/apache/fop/render/afp/AFPGraphics2D.java
@@ -89,13 +89,18 @@ public class AFPGraphics2D extends AbstractGraphics2D {
}
/**
- * Creates a new AbstractGraphics2D from an existing instance.
+ * Creates a new AFPGraphics2D from an existing instance.
*
* @param g
- * the AbstractGraphics2D whose properties should be copied
+ * the AFPGraphics2D whose properties should be copied
*/
public AFPGraphics2D(AFPGraphics2D g) {
super(g);
+ this.graphicsObj = g.graphicsObj;
+ this.fallbackTextHandler = g.fallbackTextHandler;
+ this.customTextHandler = g.customTextHandler;
+ this.afpInfo = g.afpInfo;
+ this.afpState = g.afpState;
}
/**