aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2008-01-04 12:14:33 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2008-01-04 12:14:33 +0000
commit47571de516042aee166a579e6d984697ac60146c (patch)
tree3044a1abd5514c5cd429e702e5cdc1397b5eb993 /src/java/org
parent2ddc94a5b97c9a7a66bb2fee45ea6e46b86030bf (diff)
downloadxmlgraphics-fop-47571de516042aee166a579e6d984697ac60146c.tar.gz
xmlgraphics-fop-47571de516042aee166a579e6d984697ac60146c.zip
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. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@608812 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r--src/java/org/apache/fop/render/PrintRendererConfigurator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/PrintRendererConfigurator.java b/src/java/org/apache/fop/render/PrintRendererConfigurator.java
index 3f5884a5e..0f53f2edc 100644
--- a/src/java/org/apache/fop/render/PrintRendererConfigurator.java
+++ b/src/java/org/apache/fop/render/PrintRendererConfigurator.java
@@ -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()) {