source file of the GNU LilyPond music typesetter
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
Jan Nieuwenhuizen <janneke@gnu.org>
*/
#include "lyric-engraver.hh"
#include "musical-request.hh"
-#include "g-text-item.hh"
+#include "item.hh"
#include "paper-def.hh"
#include "lookup.hh"
}
void
-Lyric_engraver::do_process_requests()
+Lyric_engraver::do_process_music()
{
if (req_l_)
{
- text_p_= new G_text_item;
- text_p_->text_str_ = req_l_->text_str_;
-
- Scalar style = get_property ("textstyle", 0);
- if (style.length_i ())
- text_p_->style_str_ = style;
+ text_p_= new Item (get_property ("basicLyricTextProperties"));
+ text_p_->set_elt_property ("text",
+ ly_str02scm ((req_l_->text_str_ + " ").ch_C ()));
+
announce_element (Score_element_info (text_p_, req_l_));
}
}
req_l_ =0;
}
+