aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-08-29 11:55:38 +0000
committerJeremias Maerki <jeremias@apache.org>2005-08-29 11:55:38 +0000
commit391fc218fccc37fb3deaaab07a3bcfa96a2d9707 (patch)
tree1ba6ebebef74b35edd60ad02a3bf44474411ab90 /src
parent5ede4810666419bbd502e7765f898906909b50f7 (diff)
downloadxmlgraphics-fop-391fc218fccc37fb3deaaab07a3bcfa96a2d9707.tar.gz
xmlgraphics-fop-391fc218fccc37fb3deaaab07a3bcfa96a2d9707.zip
Made the warnings more verbose.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264117 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/layoutmgr/TraitSetter.java10
1 files 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());