From 62558cdf62083f1c2ad7f697b455459ae544e976 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 23:23:31 +0000 Subject: [PATCH] lilypond-1.3.64 --- lily/lyric-engraver.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lily/lyric-engraver.cc b/lily/lyric-engraver.cc index 64a306b3ed..5856b92318 100644 --- a/lily/lyric-engraver.cc +++ b/lily/lyric-engraver.cc @@ -12,6 +12,7 @@ #include "item.hh" #include "paper-def.hh" #include "lookup.hh" +#include "side-position-interface.hh" ADD_THIS_TRANSLATOR (Lyric_engraver); @@ -45,6 +46,13 @@ Lyric_engraver::do_process_music() text_p_->set_elt_property ("text", ly_str02scm ((req_l_->text_str_ + " ").ch_C ())); + text_p_->add_offset_callback (&Side_position_interface::aligned_on_self,X_AXIS); + /* + We can't reach the notehead where we're centered from here. So + we kludge. + */ + text_p_->translate_axis (paper_l()->get_var ("quartwidth")/2, X_AXIS); + announce_element (Score_element_info (text_p_, req_l_)); } } -- 2.39.5