]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
The fonts variable would have always had an empty Configuration node (non-null value...
authorAdrian Cumiskey <acumiskey@apache.org>
Fri, 4 Jan 2008 12:14:33 +0000 (12:14 +0000)
committerAdrian Cumiskey <acumiskey@apache.org>
Fri, 4 Jan 2008 12:14:33 +0000 (12:14 +0000)
in the fop configuration.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@608812 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/PrintRendererConfigurator.java

index 3f5884a5e5fd537385d469593b66848365ecc271..0f53f2edce339a2227f5c6d6157ca585298cdd76 100644 (file)
@@ -118,7 +118,7 @@ public class PrintRendererConfigurator extends AbstractRendererConfigurator
             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()) {