]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/text-spanner.cc
* scm/font.scm: remove old markup legacy
[lilypond.git] / lily / text-spanner.cc
index a7ad249ed6fa51299777cb0274074e05a0a705b1..6037882dd6a8d3303d4f017ce3d97ac8441a0444 100644 (file)
@@ -86,11 +86,9 @@ Text_spanner::brew_molecule (SCM smob)
          
          SCM text = index_get_cell (edge_text, d);
 
-         /*
-           TODO: use markup.
-          */
+         if (Text_item::markup_p (text)) 
+           edge[d] = *unsmob_molecule (Text_item::interpret_markup (smob, properties, text));
          
-         edge[d] = Text_item::interpret_new_markup (smob, properties, text);
          if (!edge[d].empty_b ())
            edge[d].align_to (Y_AXIS, CENTER);
        }