- Grob * sc = unsmob_grob (smob);
- SCM glyph = sc->get_grob_property ("glyph-name");
- if (gh_string_p (glyph))
- {
- return Font_interface::get_default_font (sc)->find_by_name (String (ly_scm2string (glyph))).smobbed_copy ();
- }
- else
+ Grob *me = unsmob_grob (smob);
+ SCM glyph_scm = me->get_grob_property ("glyph-name");
+ if (!gh_string_p (glyph_scm))
+ return SCM_EOL;
+
+ String glyph = String (ly_scm2string (glyph_scm));
+ Font_metric *fm = Font_interface::get_default_font (me);
+ Molecule out = fm->find_by_name (glyph);
+ if (out.is_empty ())