code: def toXML(self, writer, ttFont):
      writer.comment(
          "Most of this table will be recalculated by the compiler"
      )
      writer.newline()
      formatstring, names, fixes = sstruct.getformat(GMAPFormat)
      for name in names:
          value = getattr(self, name)
          writer.simpletag(name, value=value)
          writer.newline()
      writer.simpletag("PSFontName", value=self.psFontName)
      writer.newline()
      for gmapRecord in self.gmapRecords:
          gmapRecord.toXML(writer, ttFont)
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/G_M_A_P_.py
imports: from fontTools.misc import sstruct
  from fontTools.misc.textTools import tobytes, tostr, safeEval
  from .None import DefaultTable
label_desc: Use image node_id 3 for calling the table_G_M_A_P_ obj's underlying member method code with example usage: obj.toXML(writer, ttFont) without return types