- idx += String (&text.byte_C ()[i], 1);
- Molecule m = e->lookup_l ()->afm_find (idx);
- if (!m.empty_b ())
- mol.add_at_edge (X_AXIS, RIGHT, m, 0);
+ idx += String (&text.to_bytes ()[i], 1);
+ Stencil m = Font_interface::get_default_font (e)->find_by_name (idx);
+ if (!m.is_empty ())
+ mol.add_at_edge (X_AXIS, RIGHT, m, 0, 0);