+
+/*
+ return a molecule, without fontification
+ */
+Molecule
+Adobe_font_metric::find_by_name (String s) const
+{
+ AFM_CharMetricInfo const *cm = find_char_metric (s);
+
+ if (!cm)
+ {
+ /*
+ Why don't we return empty?
+ */
+
+ Molecule m;
+ m.set_empty (false);
+ return m;
+ }
+
+ SCM at = (scm_list_n (ly_symbol2scm ("char"),
+ scm_int2num (cm->code),
+ SCM_UNDEFINED));
+
+ // at= fontify_atom ((Font_metric*)this, at);
+ Box b = afm_bbox_to_box (cm->charBBox);
+
+ return Molecule (b, at);
+}