diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2007-12-14 13:16:06 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2007-12-14 13:16:06 +0000 |
commit | 00ba9d896e3138faa1ceeff440dbcfad7808b194 (patch) | |
tree | a36570b5cdc3c446b1d5f61794250d9a3f41968a /src/java/org/apache/fop | |
parent | 79d9dab416b7676bbb914dcecd80416a422b5c48 (diff) | |
download | xmlgraphics-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.java | 9 |
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; } /** |