aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/ps/PSRenderer.java
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-08-19 06:54:31 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-08-19 06:54:31 +0000
commit07c09d4368eec7bd75af4e928ba3ee7fbdc79a27 (patch)
tree22ba4e6dfd315a615fe76f93b8ee88c518552a2f /src/java/org/apache/fop/render/ps/PSRenderer.java
parentf57272a7c47e82a4ba3131c2d7a730c9529ff272 (diff)
downloadxmlgraphics-fop-07c09d4368eec7bd75af4e928ba3ee7fbdc79a27.tar.gz
xmlgraphics-fop-07c09d4368eec7bd75af4e928ba3ee7fbdc79a27.zip
more FO Tree isolation work
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196812 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/ps/PSRenderer.java')
-rw-r--r--src/java/org/apache/fop/render/ps/PSRenderer.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSRenderer.java b/src/java/org/apache/fop/render/ps/PSRenderer.java
index 5182bcfcc..6514fb2d6 100644
--- a/src/java/org/apache/fop/render/ps/PSRenderer.java
+++ b/src/java/org/apache/fop/render/ps/PSRenderer.java
@@ -76,6 +76,7 @@ import org.apache.fop.fonts.Typeface;
import org.apache.fop.control.Document;
import org.apache.fop.render.AbstractRenderer;
import org.apache.fop.render.RendererContext;
+import org.apache.fop.fo.FOTreeControl;
import org.apache.fop.image.FopImage;
import org.apache.fop.image.ImageFactory;
@@ -260,9 +261,9 @@ public class PSRenderer extends AbstractRenderer {
*
* @param fontInfo the font info object to set up
*/
- public void setupFontInfo(Document fontInfo) {
+ public void setupFontInfo(FOTreeControl foTreeControl) {
/* use PDF's font setup to get PDF metrics */
- org.apache.fop.render.pdf.FontSetup.setup(fontInfo, null);
+ org.apache.fop.render.pdf.FontSetup.setup((Document)foTreeControl, null);
this.fontInfo = fontInfo;
}