From 4360e0417498d2032809797b29040b26ec0f2dd2 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Fri, 20 Mar 2009 15:41:56 +0000 Subject: [PATCH] Minor optimization. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756533 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fonts/FontInfoConfigurator.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/java/org/apache/fop/fonts/FontInfoConfigurator.java b/src/java/org/apache/fop/fonts/FontInfoConfigurator.java index fe0ca85cd..07407e9ae 100644 --- a/src/java/org/apache/fop/fonts/FontInfoConfigurator.java +++ b/src/java/org/apache/fop/fonts/FontInfoConfigurator.java @@ -74,9 +74,6 @@ public class FontInfoConfigurator { * @throws FOPException if an exception occurs while processing the configuration */ public void configure(List/**/ fontInfoList) throws FOPException { - FontCache fontCache = fontManager.getFontCache(); - String fontBaseURL = fontManager.getFontBaseURL(); - Configuration fonts = cfg.getChild("fonts", false); if (fonts != null) { long start = 0; @@ -98,6 +95,7 @@ public class FontInfoConfigurator { addDirectories(fonts, fontAdder, fontInfoList); // Add configured fonts to FontInfo + FontCache fontCache = fontManager.getFontCache(); addFonts(fonts, fontCache, fontInfoList); // Update referenced fonts (fonts which are not to be embedded) -- 2.39.5