lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system-count bugfix


From: Han-Wen Nienhuys
Subject: Re: system-count bugfix
Date: Sat, 13 May 2006 18:07:02 +0200
User-agent: Thunderbird 1.5 (X11/20060313)

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 - address@hidden - http://www.xs4all.nl/~hanwen

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]