diff options
Diffstat (limited to 'src/java/org/apache/fop/render/ps/PSDocumentGraphics2D.java')
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSDocumentGraphics2D.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSDocumentGraphics2D.java b/src/java/org/apache/fop/render/ps/PSDocumentGraphics2D.java index 7ab57905f..c48fe82aa 100644 --- a/src/java/org/apache/fop/render/ps/PSDocumentGraphics2D.java +++ b/src/java/org/apache/fop/render/ps/PSDocumentGraphics2D.java @@ -62,7 +62,7 @@ import java.io.IOException; //FOP import org.apache.fop.render.pdf.FontSetup; -import org.apache.fop.layout.FontInfo; +import org.apache.fop.control.Document; /** * This class is a wrapper for the <tt>PSGraphics2D</tt> that @@ -94,7 +94,7 @@ public class PSDocumentGraphics2D extends PSGraphics2D { super(textAsShapes); if (!textAsShapes) { - fontInfo = new FontInfo(); + fontInfo = new Document(); FontSetup.setup(fontInfo, null); //FontState fontState = new FontState("Helvetica", "normal", // FontInfo.NORMAL, 12, 0); @@ -187,7 +187,7 @@ public class PSDocumentGraphics2D extends PSGraphics2D { * Get the font info for this PostScript document. * @return the font information */ - public FontInfo getFontInfo() { + public Document getFontInfo() { return fontInfo; } |