From 7072674174bfb7d0df0614a2d73c11b5c6622395 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 6 Sep 2004 17:46:40 +0000 Subject: [PATCH] (print): take common refpoint of dots into account as well. --- ChangeLog | 5 +++++ lily/ottava-bracket.cc | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7be0283c96..59dbb8e25f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-09-06 Han-Wen Nienhuys + + * lily/ottava-bracket.cc (print): take common refpoint of dots + into account as well. + 2004-09-05 Han-Wen Nienhuys * lily/lookup.cc (triangle): translate by interval. diff --git a/lily/ottava-bracket.cc b/lily/ottava-bracket.cc index ef2df3a9f7..01b452d933 100644 --- a/lily/ottava-bracket.cc +++ b/lily/ottava-bracket.cc @@ -56,7 +56,15 @@ Ottava_bracket::print (SCM smob) if (Note_column::has_interface (b)) { - common = common_refpoint_of_list (b->get_property ("heads"), common, X_AXIS); + SCM heads = b->get_property ("note-heads"); + common = common_refpoint_of_list (heads, common, X_AXIS); + for (SCM s = heads; ly_c_pair_p (s); s =ly_cdr (s)) + { + Grob * h = unsmob_grob (ly_car (s)); + Grob * dots = Rhythmic_head::get_dots (h); + if (dots) + common = dots->common_refpoint (common, X_AXIS); + } } } while (flip (&d) != LEFT); -- 2.39.5