def parse_afm(fh):
 _sanity_check(fh)
 dhead = _parse_header(fh)
 (dcmetrics_ascii, dcmetrics_name) = _parse_char_metrics(fh)
 doptional = _parse_optional(fh)
 return (dhead, dcmetrics_ascii, dcmetrics_name, doptional[0], doptional[1])

def parse_afm ( fh ) : _sanity_check ( fh ) dhead = _parse_header ( fh ) ( dcmetrics_ascii , dcmetrics_name ) = _parse_char_metrics ( fh ) doptional = _parse_optional ( fh ) return ( dhead , dcmetrics_ascii , dcmetrics_name , doptional [ 0 ] , doptional [ 1 ] )
parse the adobe font metics file in file handle *fh* .