Author: acumiskey
Date: Fri Jan  4 04:14:33 2008
New Revision: 608812

URL: http://svn.apache.org/viewvc?rev=608812&view=rev
Log:
The fonts variable would have always had an empty Configuration node (non-null 
value) even if a <fonts/> wasn't present
in the fop configuration.

Modified:
    
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/PrintRendererConfigurator.java

Modified: 
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/PrintRendererConfigurator.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/PrintRendererConfigurator.java?rev=608812&r1=608811&r2=608812&view=diff
==============================================================================
--- 
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/PrintRendererConfigurator.java
 (original)
+++ 
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/PrintRendererConfigurator.java
 Fri Jan  4 04:14:33 2008
@@ -118,7 +118,7 @@
             boolean strict, FontCache fontCache) throws FOPException {
         List fontInfoList = new java.util.ArrayList();
 
-        Configuration fonts = cfg.getChild("fonts");
+        Configuration fonts = cfg.getChild("fonts", false);
         if (fonts != null) {
             long start = 0;
             if (log.isDebugEnabled()) {



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to