]> source.dussan.org Git - xmlgraphics-fop.git/commit
Added support for an optional two-pass production for PostScript output to minimize...
authorJeremias Maerki <jeremias@apache.org>
Fri, 2 Mar 2007 17:30:16 +0000 (17:30 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 2 Mar 2007 17:30:16 +0000 (17:30 +0000)
commit667bb1ccbce991aa1b2b6c25f8fcab0419b5fb42
tree9887d51fc8d84066d3fe44f9aab023e7c3aeba48
parent6a674b4f027dedbc5818b706cf7b85ea0007d42f
Added support for an optional two-pass production for PostScript output to minimize file size. This adds images only once and adds only the fonts that are really used. The actual resource optimization is implemented with the use of the new DSC parser in XML Graphics Commons.
A simple test file with a few images and a few configured fonts of which most are not used shows, that with the two-pass approach the file size of the generated PostScript file decreased from 510KB to 160KB. Note that enabling this feature will increase the memory requirements in the PostScript interpreter when there are many images. Documentation follows.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@513857 13f79535-47bb-0310-9956-ffa450edef68
lib/xmlgraphics-commons-1.1.jar [deleted file]
lib/xmlgraphics-commons-1.2svn.jar [new file with mode: 0644]
src/foschema/fop-configuration.xsd
src/java/org/apache/fop/render/ps/PSFontUtils.java
src/java/org/apache/fop/render/ps/PSImageFormResource.java [new file with mode: 0644]
src/java/org/apache/fop/render/ps/PSImageUtils.java
src/java/org/apache/fop/render/ps/PSRenderer.java
src/java/org/apache/fop/render/ps/ResourceHandler.java [new file with mode: 0644]
status.xml