diff options
author | William Victor Mote <vmote@apache.org> | 2003-08-14 07:42:59 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-08-14 07:42:59 +0000 |
commit | 1041ea8c48bebd72fe8544906fbff40f43ca70e0 (patch) | |
tree | efce02ef7a3f813f17c5d0af69cd590cf4474582 /src/java/org/apache/fop/render/awt/AWTRenderer.java | |
parent | dfadcfe581e7da20c26d08325efa5b40ce63e837 (diff) | |
download | xmlgraphics-fop-1041ea8c48bebd72fe8544906fbff40f43ca70e0.tar.gz xmlgraphics-fop-1041ea8c48bebd72fe8544906fbff40f43ca70e0.zip |
1. create control package
2. move layout.FontInfo to control.Document
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196798 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/awt/AWTRenderer.java')
-rw-r--r-- | src/java/org/apache/fop/render/awt/AWTRenderer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/awt/AWTRenderer.java b/src/java/org/apache/fop/render/awt/AWTRenderer.java index 4314078cd..1a699f804 100644 --- a/src/java/org/apache/fop/render/awt/AWTRenderer.java +++ b/src/java/org/apache/fop/render/awt/AWTRenderer.java @@ -77,7 +77,7 @@ import java.util.Map; // FOP import org.apache.fop.apps.InputHandler; -import org.apache.fop.layout.FontInfo; +import org.apache.fop.control.Document; import org.apache.fop.render.AbstractRenderer; import org.apache.fop.viewer.PreviewDialog; import org.apache.fop.viewer.Translator; @@ -159,7 +159,7 @@ public class AWTRenderer extends AbstractRenderer implements Printable, Pageable return 0; } - public void setupFontInfo(FontInfo fontInfo) { + public void setupFontInfo(Document fontInfo) { // create a temp Image to test font metrics on BufferedImage fontImage = new BufferedImage(100, 100, BufferedImage.TYPE_INT_RGB); |