bug-lilypond
[Top][All Lists]
Advanced

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

Re: beam bug still not fixed


From: Jan Nieuwenhuizen
Subject: Re: beam bug still not fixed
Date: Mon, 19 Aug 2002 13:35:19 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

Rune Zedeler <address@hidden> writes:

> \score {
>      \notes {[c'8.... c'128]}
>      \paper{ linewidth = -1 }
> }
>
> still does not produce a horizontal beam.

Ok.  I suggest this fix, NOT yet in CVS.  On first glance, sarabande
seems OK, I'm re-running regtest now.



--- stem.cc.~1.184.~    2002-08-17 19:45:11.000000000 +0200
+++ stem.cc     2002-08-19 13:32:28.000000000 +0200
@@ -824,9 +824,15 @@ 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 */
+  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 */

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org





reply via email to

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