docstr: Parse the AFM file in file object *fh*
docstr_tok: ["Parse","the","AFM","file","in","file","object","*","fh","*"]
code: def __init__(self, fh):
      """
      Parse the AFM file in file object *fh*
      """
      (
          dhead,
          dcmetrics_ascii,
          dcmetrics_name,
          dkernpairs,
          dcomposite,
      ) = parse_afm(fh)
      self._header = dhead
      self._kern = dkernpairs
      self._metrics = dcmetrics_ascii
      self._metrics_by_name = dcmetrics_name
      self._composite = dcomposite
  
imports: import sys, os, re
  from _mathtext_data import uni2type1
label_desc: Use image node_id 1 to create a new AFM object  with example: obj = AFM(fh)