Status: Accepted
Owner: ----
Labels: Type-Critical regression
New issue 4310 by [email protected]: Stem direction calculation is
unreliable
https://code.google.com/p/lilypond/issues/detail?id=4310
\version "2.19.16"
\new Staff {
\set Staff.fontSize = #2
\override Staff.StaffSymbol.staff-space = #(magstep 2)
\override Staff.StaffSymbol.thickness = #(magstep 2)
\override Stem.after-line-breaking =
#(lambda (grob)
(format #t "~a default-direction: ~a~%"
grob
(ly:grob-property grob 'default-direction)))
\relative f { f4 g a b c d e f g a b c d e f g } }
sets bad stem directions, and prints occasional erroneous 0s for
default-direction. Reported at
<https://lists.gnu.org/archive/html/lilypond-user/2015-03/msg00081.html>
Looks like improper use of floating point pair (Interval) in stem.cc
661 Interval hp = head_positions (me);
662 if (!hp.is_empty ())
should be simply if (head_count(me))
The change of gcc version with 2.19.16 will probably reveal more cases of
sloppy code.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings