]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/text-engraver.cc
release: 1.3.90
[lilypond.git] / lily / text-engraver.cc
index ec8cc78071eeb2121e88af32b4426d4cf8abfaae..521b7ac1125a95436be8ac3147bae5d9471d61d5 100644 (file)
@@ -102,25 +102,13 @@ Text_engraver::do_process_music ()
       
       if (r->style_str_.length_i ())
        text->set_elt_property ("style", ly_str02scm (r->style_str_.ch_C()));
-      
-      /*
-       Text is empty by default, which means that the only condition
-       for not setting 'no-spacing-rods' should be: boolean && true.
-
-       Anyway, non-empty text has been broken for some time now.
-       */
-
 
-      /// URG this is broken by basicTextScriptProperties which defines
-      /// no-spacing-rods
-      /// FIXME
       SCM nonempty = get_property ("textNonEmpty");
-      if (!to_boolean (nonempty))
+      if (to_boolean (nonempty))
        /*
          empty text: signal that no rods should be applied.  
         */
-       text->set_elt_property ("no-spacing-rods" , SCM_BOOL_T);
-
+       text->set_elt_property ("no-spacing-rods" , SCM_BOOL_F);
                
       announce_element (text, r);
       texts_.push (text);