From ff3a0b1f92bef5b6384c286a5944d2d5df96fe41 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Sun, 15 Aug 2010 16:15:55 +0000 Subject: 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 --- src/java/org/apache/fop/apps/FopFactoryConfigurator.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/java/org/apache/fop/apps') 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); -- cgit v1.2.3