#include "musical-request.hh"
#include "item.hh"
#include "paper-def.hh"
-#include "lookup.hh"
+#include "font-metric.hh"
+#include "side-position-interface.hh"
ADD_THIS_TRANSLATOR (Lyric_engraver);
{
if (req_l_)
{
- text_p_= new Item (get_property ("basicLyricTextProperties"));
+ text_p_= new Item (get_property ("LyricText"));
- text_p_->set_elt_property ("text",
- ly_str02scm ((req_l_->text_str_ + " ").ch_C ()));
+ text_p_->set_elt_property ("text", req_l_->get_mus_property ("text"));
- announce_element (Score_element_info (text_p_, req_l_));
+ /*
+ We can't reach the notehead where we're centered from here. So
+ we kludge.
+
+ (UGH UGH, pulled amount of space out of thin air)
+ */
+
+ text_p_->translate_axis (0.66, X_AXIS);
+
+ announce_element (text_p_, req_l_);
}
}