]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Made the warnings more verbose.
authorJeremias Maerki <jeremias@apache.org>
Mon, 29 Aug 2005 11:55:38 +0000 (11:55 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 29 Aug 2005 11:55:38 +0000 (11:55 +0000)
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

index d165939143c4e0a0cc941a9d8501676673641402..c1322d5703d8006f994bfcadbd0dc5a9011a540f 100644 (file)
@@ -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());