Author: acumiskey
Date: Fri Mar 20 15:41:56 2009
New Revision: 756533

URL: http://svn.apache.org/viewvc?rev=756533&view=rev
Log:
Minor optimization.

Modified:
    
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontInfoConfigurator.java

Modified: 
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontInfoConfigurator.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontInfoConfigurator.java?rev=756533&r1=756532&r2=756533&view=diff
==============================================================================
--- 
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontInfoConfigurator.java 
(original)
+++ 
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontInfoConfigurator.java 
Fri Mar 20 15:41:56 2009
@@ -74,9 +74,6 @@
      * @throws FOPException if an exception occurs while processing the 
configuration
      */
     public void configure(List/*<EmbedFontInfo>*/ 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 @@
             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)



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to