From: Han-Wen Nienhuys Date: Mon, 22 Aug 2005 16:17:12 +0000 (+0000) Subject: * input/mutopia/R.Schumann/GNUmakefile (examples): switch off X-Git-Tag: release/2.7.7~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=87ff317cd1b87b73d2c623206581386dafbc052b;p=lilypond.git * input/mutopia/R.Schumann/GNUmakefile (examples): switch off romanze28-2 example. * lily/tie-column.cc (set_chord_outlines): new function. (new_directions): read tie-configuration --- diff --git a/ChangeLog b/ChangeLog index cec3a6f1d7..a1713081ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-08-22 Han-Wen Nienhuys + * input/mutopia/R.Schumann/GNUmakefile (examples): switch off + romanze28-2 example. + * scm/ps-to-png.scm: remove dir-re function. (make-ps-images): generate page names, instead of globbing them. This brings down LilyPond memory usage for make web by a factor diff --git a/input/mutopia/R.Schumann/GNUmakefile b/input/mutopia/R.Schumann/GNUmakefile index 7fe3f3f523..9db7efecb1 100644 --- a/input/mutopia/R.Schumann/GNUmakefile +++ b/input/mutopia/R.Schumann/GNUmakefile @@ -1,6 +1,6 @@ depth = ../../.. -examples=romanze-op28-2 +examples= LOCALSTEPMAKE_TEMPLATES=ly mutopia include $(depth)/make/stepmake.make diff --git a/lily/tie-column.cc b/lily/tie-column.cc index cd1195f9b7..1ab6cd18a9 100644 --- a/lily/tie-column.cc +++ b/lily/tie-column.cc @@ -133,15 +133,21 @@ set_chord_outlines (Drul_array< Array > *skyline_drul, Direction updowndir = DOWN; do { - Box b = boxes.boundary (updowndir, 0); - Interval x = b[X_AXIS]; - x[-d] = b[X_AXIS].linear_combination (-d / 2); + Interval x ; + if (boxes.size()) + { + Box b = boxes.boundary (updowndir, 0); + Interval x = b[X_AXIS]; + x[-d] = b[X_AXIS].linear_combination (-d / 2); + } + if (stem && !Stem::is_invisible (stem) && updowndir == get_grob_direction (stem)) x.unite (robust_relative_extent (stem, common, X_AXIS)); - (*skyline_drul)[d].boundary (updowndir, 0).height_ = x[-d]; + if (!x.is_empty ()) + (*skyline_drul)[d].boundary (updowndir, 0).height_ = x[-d]; } while (flip (&updowndir) != DOWN);