docstr: Get the width of the character from a type1 character name.
code: def get_width_from_char_name(self, name):
      """Get the width of the character from a type1 character name."""
      return self._metrics_by_name[name].width
  
imports: from collections import namedtuple
  import logging
  import re
  from ._mathtext_data import uni2type1
label_desc: Use image node_id 8 for calling the AFM obj's underlying member method code with example usage: obj.get_width_from_char_name(name) and returns: self