]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lookup.cc
patch::: 1.1.37.script1
[lilypond.git] / lily / lookup.cc
index 9458b672d19f840847a0ef8a5794e097796084b5..d588febb0553eec610dca9e28ec10a3774e5c6b4 100644 (file)
@@ -327,12 +327,6 @@ Lookup::rule_symbol (Real height, Real width) const
   return m;
 }
 
-Molecule
-Lookup::script (String str) const
-{
-  return afm_find (String ("scripts-") + str);
-}
-
 Molecule
 Lookup::special_time_signature (String s, int n, int d) const
 {
@@ -396,6 +390,8 @@ Molecule
 Lookup::text (String style, String text) const
 {
   Molecule m;
+  if (style.empty_b ())
+    style = "roman";
   
   int font_mag = 1;
   Real font_h = paper_l_->get_var ("font_normal");
@@ -409,6 +405,9 @@ Lookup::text (String style, String text) const
       font_mag = (int)paper_l_->get_var ("magnification_" + style);
     }
 
+  /*
+    UGH.
+   */
   SCM l = gh_eval_str (("(style-to-cmr \"" + style + "\")").ch_C());
   if (l != SCM_BOOL_F)
     {