http://codereview.appspot.com/6211047/diff/20001/lily/bar-line.cc
File lily/bar-line.cc (right):

http://codereview.appspot.com/6211047/diff/20001/lily/bar-line.cc#newcode151
lily/bar-line.cc:151: Real const gap_to_find = (1.0 + 3 * staffline) /
staff_space;
It seems you want
Real const gap_to_find = (dot.extent(Y_AXIS).length()
                          + 3 * staffline
                          ) / staff_space *2 ;
where the *2 is because you compare the gap_to_find with differences of
staff positions, and the distance of a staff space is two positions (as
E to G).

http://codereview.appspot.com/6211047/

_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to