]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-engraver.cc
patch::: 1.3.9.hwn2
[lilypond.git] / lily / lyric-engraver.cc
index f5807666da8b71a4024544a88de1c521969427ee..7227f51f832a8edd51e088d970bcc000ff50ef8a 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "lyric-engraver.hh"
 #include "musical-request.hh"
-#include "g-text-item.hh"
+#include "text-item.hh"
 #include "paper-def.hh"
 #include "lookup.hh"
 
@@ -40,12 +40,11 @@ Lyric_engraver::do_process_requests()
 {
   if (req_l_)
     {
-      text_p_=  new G_text_item;
+      text_p_=  new Text_item;
       text_p_->text_str_ = req_l_->text_str_;
+      text_p_->text_str_ += " ";       // ugh.
 
-      Scalar style = get_property ("textStyle", 0);
-      if (style.length_i ())
-       text_p_->style_str_ = style;
+      text_p_->set_elt_property ("non-rhythmic", SCM_BOOL_T);
       
       announce_element (Score_element_info (text_p_, req_l_));
     }
@@ -67,3 +66,4 @@ Lyric_engraver::do_post_move_processing ()
   req_l_ =0;
 }
 
+