Index: src/java/org/apache/fop/fonts/apps/TTFReader.java
===================================================================
--- src/java/org/apache/fop/fonts/apps/TTFReader.java   (revision 331635)
+++ src/java/org/apache/fop/fonts/apps/TTFReader.java   (working copy)
@@ -52,6 +52,15 @@
      */
     protected static Log log;
 
+    public TTFReader() {
+        // Create logger if necessary here to allow embedding of TTFReader in
+        // other applications. There is a possible but harmless synchronization
+        // issue.
+        if(log == null) {
+            log = LogFactory.getLog(TTFReader.class);
+        }
+    }
+    
     /**
      * Parse commandline arguments. put options in the HashMap and return
      * arguments in the String array
@@ -154,7 +163,6 @@
         } else {
             setLogLevel("info");
         }
-        log = LogFactory.getLog(TTFReader.class);
 
         TTFReader app = new TTFReader();
 


