From 7ff4d49e199126a0acbaccefd766e71ecf8c0e32 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Fri, 4 Jul 2003 20:58:54 +0000 Subject: Save PS interpreter memory by starting the procs only once. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196606 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/ps/PSRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/java/org/apache/fop/render') diff --git a/src/java/org/apache/fop/render/ps/PSRenderer.java b/src/java/org/apache/fop/render/ps/PSRenderer.java index 33987f1eb..968c51445 100644 --- a/src/java/org/apache/fop/render/ps/PSRenderer.java +++ b/src/java/org/apache/fop/render/ps/PSRenderer.java @@ -369,6 +369,7 @@ public class PSRenderer extends AbstractRenderer { PSProcSets.writeFOPStdProcSet(gen); PSProcSets.writeFOPEPSProcSet(gen); PSProcSets.writeFontDict(gen, fontInfo); + gen.writeln("FOPFonts begin"); gen.writeDSCComment(DSCConstants.END_SETUP); } @@ -428,7 +429,6 @@ public class PSRenderer extends AbstractRenderer { } } gen.writeDSCComment(DSCConstants.BEGIN_PAGE_SETUP); - gen.writeln("FOPFonts begin"); if (rotate) { gen.writeln(Math.round(pspageheight) + " 0 translate"); gen.writeln("90 rotate"); -- cgit v1.2.3