]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/font-metric-scheme.cc
* lily/pango-font.cc (text_stencil): allow 'tight' bounds.
[lilypond.git] / lily / font-metric-scheme.cc
index c39d79494a55f02ef15e9e5501fea7639aa80794..64d6f5c40026b76613d83a8dd02505243d73f036 100644 (file)
@@ -73,11 +73,8 @@ LY_DEFINE (ly_font_glyph_name_to_charcode, "ly:font-glyph-name-to-charcode",
   Font_metric *fm = unsmob_metrics (font);
   SCM_ASSERT_TYPE (fm, font, SCM_ARG1, __FUNCTION__, "font-metric");
   SCM_ASSERT_TYPE (scm_is_string (name), name, SCM_ARG2, __FUNCTION__, "string");
-#if 1
+
   return scm_from_unsigned_integer (fm->index_to_charcode (fm->name_to_index (ly_scm2string (name))));
-#else
-  return scm_from_unsigned_integer (fm->glyph_name_to_charcode (ly_scm2string (name)));
-#endif
 }
 
 LY_DEFINE (ly_text_dimension, "ly:text-dimension",