class_docstr: The ``Feat`` table is used exclusively by the Graphite shaping engine
  to store features and possible settings specified in GDL. Graphite features
  determine what rules are applied to transform a glyph stream.
  
  Not to be confused with ``feat``, or the OpenType Layout tables
  ``GSUB``/``GPOS``.
class_docstr_tok: ["The","``","Feat","``","table","is","used","exclusively","by","the","Graphite","shaping","engine","to","store","features","and","possible","settings","specified","in","GDL",".","Graphite","features","determine","what","rules","are","applied","to","transform","a","glyph","stream",".","Not","to","be","confused","with","``","feat","``",",","or","the","OpenType","Layout","tables","``","GSUB","``","\/","``","GPOS","``","."]
code: def fromXML(self, name, attrs, content, ttFont):
      if name == "version":
          self.version = float(safeEval(attrs["version"]))
      elif name == "feature":
          fid = attrs["fid"]
          fobj = Feature()
          fobj.flags = int(safeEval(attrs["flags"]))
          fobj.label = int(safeEval(attrs["label"]))
          fobj.default = int(safeEval(attrs.get("default", "0")))
          fobj.index = len(self.features)
          self.features[fid] = fobj
          fobj.settings = {}
          for element in content:
              if not isinstance(element, tuple):
                  continue
              tag, a, c = element
              if tag == "setting":
                  fobj.settings[int(safeEval(a["value"]))] = int(
                      safeEval(a["label"])
                  )
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/F__e_a_t.py
imports: from fontTools.misc import sstruct
  from fontTools.misc.fixedTools import floatToFixedToStr
  from fontTools.misc.textTools import safeEval
  from .None import DefaultTable
  from .None import grUtils
  import struct
label_desc: Use image node_id 5 for calling the table_F__e_a_t obj's underlying member method code with example usage: obj.fromXML(name, attrs, content, ttFont) without return types