From: Jan Nieuwenhuizen Date: Mon, 19 Aug 2002 11:51:05 +0000 (+0000) Subject: Fix [a8 a32]. X-Git-Tag: release/1.6.0~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8ed97e22c51e37cd5c4f6296be63547595434f58;p=lilypond.git Fix [a8 a32]. --- diff --git a/ChangeLog b/ChangeLog index 5af46ec918..8d1d9c523e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,8 @@ 2002-08-19 janneke + * lily/stem.cc (calc_stem_info): Fix [a8 a32]. + * Documentation/index.texi (Top): Templates url fix, small url name changes. diff --git a/lily/stem.cc b/lily/stem.cc index 05bddd3356..fa3401e2a9 100644 --- a/lily/stem.cc +++ b/lily/stem.cc @@ -824,9 +824,21 @@ Stem::calc_stem_info (Grob *me) * staff_space; int my_beam_count = Stem::beam_multiplicity (me).length () + 1; +#if 0 Real height_of_my_beams = beam_thickness + (my_beam_count - 1) * beam_translation; - +#else + /* UGH + It seems that also for ideal minimum length, we must use + the maximum beam count (for this direction): + + \score{ \notes\relative c''{ [a8 a32] }} + + must be horizontal. */ + Real height_of_my_beams = beam_thickness + + (beam_count - 1) * beam_translation; +#endif + Real ideal_minimum_length = ideal_minimum_free + height_of_my_beams /* stem only extends to center of beam */