]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/text-interface.cc
Build fixes.
[lilypond.git] / lily / text-interface.cc
index d95ed7a63aec4766214fad589689d707a8a319de..ebfae5ae5b3b51f7c3016cf1745b8d5ede26553b 100644 (file)
@@ -32,10 +32,10 @@ Text_interface::interpret_string (SCM layout_smob,
   SCM_ASSERT_TYPE (scm_is_string (markup), markup, SCM_ARG3,
                   __FUNCTION__, "string");
 
-  std::string str = ly_scm2string (markup);
+  string str = ly_scm2string (markup);
 
   Font_metric *fm = select_encoded_font (layout, props);
-  return fm->text_stencil (str).smobbed_copy ();
+  return fm->word_stencil (str).smobbed_copy ();
 }
 
 MAKE_SCHEME_CALLBACK (Text_interface, interpret_markup, 3);
@@ -91,7 +91,7 @@ Text_interface::is_markup (SCM x)
                                      ly_symbol2scm ("markup-signature"))));
 }
 
-ADD_INTERFACE (Text_interface, "text-interface",
+ADD_INTERFACE (Text_interface,
               "A scheme markup text, see @usermanref{Text markup}.",
               "baseline-skip "
               "text "