diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | THANKS | 4 | ||||
-rw-r--r-- | lily/slur-scoring.cc | 18 | ||||
-rw-r--r-- | ly/titling-init.ly | 2 |
4 files changed, 29 insertions, 1 deletions
@@ -6,6 +6,12 @@ 2005-03-27 Han-Wen Nienhuys <hanwen@xs4all.nl> + * lily/slur-scoring.cc (get_base_attachments): robustness. Don't + pass inf/nan into slur scoring. + + * ly/titling-init.ly (oddHeaderMarkup): don't show page no. on 1st + page. + * scripts/lilypond-book.py (main): add png for HTML too, guess only if necessary. Thanks to John Williams. @@ -18,9 +18,11 @@ Carl Sorensen Christian Hitz Erlend Aasland Heikki Junes +Jeff Smith John Williams Juergen Reuter Juliusz Chroboczek +Matthias Neeracher Mats Bengtsson Nicolas Sceaux Pal Benko @@ -57,6 +59,8 @@ Richard Schoeller Tapio Tuovila Will Oram Wolfgang Hoffmann +David Rogers + Release 2.4 *********** diff --git a/lily/slur-scoring.cc b/lily/slur-scoring.cc index 28c5fec42b..aec6fe62da 100644 --- a/lily/slur-scoring.cc +++ b/lily/slur-scoring.cc @@ -563,6 +563,24 @@ Slur_score_state::get_base_attachments () const } while (flip (&d) != LEFT); + + do + { + for (int a = X_AXIS; a < NO_AXES; a++) + { + Real &b = base_attachment[d][Axis (a)]; + + if (isinf (b) || isnan (b)) + { + b = 0.0; + programming_error ("Slur attachment is inf/nan"); + } + + } + } + while (flip (&d) != LEFT); + + return base_attachment; } diff --git a/ly/titling-init.ly b/ly/titling-init.ly index f4f552b140..dacf385be0 100644 --- a/ly/titling-init.ly +++ b/ly/titling-init.ly @@ -83,7 +83,7 @@ oddHeaderMarkup = \markup \fill-line { "" \on-the-fly #not-first-page \fromproperty #'header:instrument - \fromproperty #'page:page-number-string + \on-the-fly #not-first-page \fromproperty #'page:page-number-string } evenHeaderMarkup = \markup |