Here is a patch for the bug found by Trent Johnston:

2006-05-13  Joe Neeman <[EMAIL PROTECTED]>

        * lily/constrained-breaking.cc (resize): give a default value
        for system-height
Index: ChangeLog
===================================================================
RCS file: /sources/lilypond/lilypond/ChangeLog,v
retrieving revision 1.4953
diff -u -r1.4953 ChangeLog
--- ChangeLog	12 May 2006 14:18:05 -0000	1.4953
+++ ChangeLog	12 May 2006 23:18:53 -0000
@@ -1,3 +1,8 @@
+2006-05-13  Joe Neeman <[EMAIL PROTECTED]>
+
+	* lily/constrained-breaking.cc (resize): give a default value
+	for system-height
+
 2006-05-12  Mats Bengtsson  <[EMAIL PROTECTED]>
 
 	* Documentation/user/programming-interface.itely (Markup
Index: THANKS
===================================================================
RCS file: /sources/lilypond/lilypond/THANKS,v
retrieving revision 1.221
diff -u -r1.221 THANKS
--- THANKS	6 May 2006 09:56:42 -0000	1.221
+++ THANKS	12 May 2006 23:18:53 -0000
@@ -49,6 +49,7 @@
 Rick Hansen
 Sietse Brouwer
 Stephen Carter
+Trent Johnston
 Werner Lemberg
 
 Release 2.8
Index: lily/constrained-breaking.cc
===================================================================
RCS file: /sources/lilypond/lilypond/lily/constrained-breaking.cc,v
retrieving revision 1.6
diff -u -r1.6 constrained-breaking.cc
--- lily/constrained-breaking.cc	9 May 2006 02:15:56 -0000	1.6
+++ lily/constrained-breaking.cc	12 May 2006 23:18:54 -0000
@@ -147,7 +147,7 @@
   if (!breaks_.size () && pscore_)
     {
       Output_def *l = pscore_->layout ();
-      Real extent = scm_to_double (l->c_variable ("system-height"));
+      Real extent = robust_scm2double (l->c_variable ("system-height"), 12.0);
       Real padding = scm_to_double (l->c_variable ("between-system-padding"));
       Real space = scm_to_double (l->c_variable ("between-system-space"));
       bool ragged_right = to_boolean (pscore_->layout ()->c_variable ("ragged-right"));
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to