From 391fc218fccc37fb3deaaab07a3bcfa96a2d9707 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Mon, 29 Aug 2005 11:55:38 +0000 Subject: [PATCH] Made the warnings more verbose. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264117 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/TraitSetter.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/fop/layoutmgr/TraitSetter.java b/src/java/org/apache/fop/layoutmgr/TraitSetter.java index d16593914..c1322d570 100644 --- a/src/java/org/apache/fop/layoutmgr/TraitSetter.java +++ b/src/java/org/apache/fop/layoutmgr/TraitSetter.java @@ -14,7 +14,7 @@ * limitations under the License. */ -/* $Id: TraitSetter.java,v 1.6 2004/02/27 17:49:25 jeremias Exp $ */ +/* $Id$ */ package org.apache.fop.layoutmgr; @@ -245,7 +245,9 @@ public class TraitSetter { * ((PercentLength)backProps.backgroundPositionHorizontal).value())); } else { //TODO Area IPD has to be set for this to work - log.warn("Horizontal background image positioning ignored"); + log.warn("Horizontal background image positioning ignored" + + " because the IPD was not set on the area." + + " (Yes, it's a bug in FOP)"); } } else { back.setHoriz(backProps.backgroundPositionHorizontal.getValue()); @@ -265,7 +267,9 @@ public class TraitSetter { * ((PercentLength)backProps.backgroundPositionVertical).value())); } else { //TODO Area BPD has to be set for this to work - log.warn("Vertical background image positioning ignored"); + log.warn("Vertical background image positioning ignored" + + " because the BPD was not set on the area." + + " (Yes, it's a bug in FOP)"); } } else { back.setVertical(backProps.backgroundPositionVertical.getValue()); -- 2.39.5