diff options
author | William Victor Mote <vmote@apache.org> | 2003-08-19 06:54:31 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-08-19 06:54:31 +0000 |
commit | 07c09d4368eec7bd75af4e928ba3ee7fbdc79a27 (patch) | |
tree | 22ba4e6dfd315a615fe76f93b8ee88c518552a2f /src/java/org/apache/fop/render/ps | |
parent | f57272a7c47e82a4ba3131c2d7a730c9529ff272 (diff) | |
download | xmlgraphics-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')
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSRenderer.java | 5 |
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; } |