Joe Neeman schreef:

     {
       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"));


Is ok, but wouldn't it be fitting to print a warning somewher about the need to define system-height if using constrained page breaking?


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to