]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Save PS interpreter memory by starting the procs only once.
authorJeremias Maerki <jeremias@apache.org>
Fri, 4 Jul 2003 20:58:54 +0000 (20:58 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 4 Jul 2003 20:58:54 +0000 (20:58 +0000)
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

index 33987f1eb9117f126feb6b350006876797b48f3c..968c51445ffb834c605aa5f99b6ea9fb54ed8ef0 100644 (file)
@@ -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");