aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/apps
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2010-08-15 16:15:55 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2010-08-15 16:15:55 +0000
commitff3a0b1f92bef5b6384c286a5944d2d5df96fe41 (patch)
treea4f706befc1ea65f43168b6a7bfdf929156a9274 /src/java/org/apache/fop/apps
parentaba436311c935f145aa984c855f88bfd3a9cb1c1 (diff)
downloadxmlgraphics-fop-ff3a0b1f92bef5b6384c286a5944d2d5df96fe41.tar.gz
xmlgraphics-fop-ff3a0b1f92bef5b6384c286a5944d2d5df96fe41.zip
Reinstated support for being able to specify a font cache filepath in the fop user configuration.
Added convenience support for the deletion of the Fop font cache file from the command line. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985700 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/apps')
-rw-r--r--src/java/org/apache/fop/apps/FopFactoryConfigurator.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/apps/FopFactoryConfigurator.java b/src/java/org/apache/fop/apps/FopFactoryConfigurator.java
index 736ae05d8..e46530177 100644
--- a/src/java/org/apache/fop/apps/FopFactoryConfigurator.java
+++ b/src/java/org/apache/fop/apps/FopFactoryConfigurator.java
@@ -34,7 +34,6 @@ import org.apache.commons.logging.LogFactory;
import org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry;
import org.apache.xmlgraphics.image.loader.util.Penalty;
-import org.apache.fop.fonts.FontManager;
import org.apache.fop.fonts.FontManagerConfigurator;
import org.apache.fop.util.LogUtil;
@@ -198,9 +197,7 @@ public class FopFactoryConfigurator {
}
// configure font manager
- FontManager fontManager = factory.getFontManager();
- FontManagerConfigurator fontManagerConfigurator = new FontManagerConfigurator(cfg);
- fontManagerConfigurator.configure(fontManager, strict);
+ new FontManagerConfigurator(cfg).configure(factory.getFontManager(), strict);
// configure image loader framework
configureImageLoading(cfg.getChild("image-loading", false), strict);