]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tfm.cc
* scm/output-tex.scm (text): remove debugging code.
[lilypond.git] / lily / tfm.cc
index 2e0bf25167beca30e08c7dd8822b6c5993c5648e..f5cb273494ebd6e9a4bdaa3258417c0bb5213ac2 100644 (file)
@@ -125,7 +125,7 @@ Tex_font_metric::coding_scheme () const
 int
 Tex_font_metric::name_to_index (String s) const
 {
-  SCM sym = scm_makfrom0str (s.to_str0 ());
+  SCM sym = ly_symbol2scm (s.to_str0 ());
 
   SCM idx = scm_hash_ref (encoding_table_, sym, SCM_BOOL_F);
   if (gh_char_p (idx))