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(GPKGFormat)
      for name in names:
          value = getattr(self, name)
          writer.simpletag(name, value=value)
          writer.newline()
  
      writer.begintag("GMAPs")
      writer.newline()
      for gmapData in self.GMAPs:
          writer.begintag("hexdata")
          writer.newline()
          writer.dumphex(gmapData)
          writer.endtag("hexdata")
          writer.newline()
      writer.endtag("GMAPs")
      writer.newline()
  
      writer.begintag("glyphlets")
      writer.newline()
      for glyphletData in self.glyphlets:
          writer.begintag("hexdata")
          writer.newline()
          writer.dumphex(glyphletData)
          writer.endtag("hexdata")
          writer.newline()
      writer.endtag("glyphlets")
      writer.newline()
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/G_P_K_G_.py
imports: from fontTools.misc import sstruct
  from fontTools.misc.textTools import bytesjoin, safeEval, readHex
  from .None import DefaultTable
  import sys
  import array
label_desc: Use image node_id 3 for calling the table_G_P_K_G_ obj's underlying member method code with example usage: obj.toXML(writer, ttFont) without return types