diff options
author | Jeremias Maerki <jeremias@apache.org> | 2003-07-04 20:58:54 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2003-07-04 20:58:54 +0000 |
commit | 7ff4d49e199126a0acbaccefd766e71ecf8c0e32 (patch) | |
tree | 7a3478cb9751c889c9cb7fed47ce2af0a262097a /src/java/org/apache | |
parent | ccc897f402e21b0f9a9b9912864301b5b659ae53 (diff) | |
download | xmlgraphics-fop-7ff4d49e199126a0acbaccefd766e71ecf8c0e32.tar.gz xmlgraphics-fop-7ff4d49e199126a0acbaccefd766e71ecf8c0e32.zip |
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
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |