class_docstr: Support Graphite Glat tables
class_docstr_tok: ["Support","Graphite","Glat","tables"]
code: def compileAttributes12(self, attrs, fmt):
      data = b""
      for e in grUtils.entries(attrs):
          data += sstruct.pack(
              fmt, {"attNum": e[0], "num": e[1]}
          ) + struct.pack((">%dh" % len(e[2])), *e[2])
      return data
  
imports: from fontTools.misc import sstruct
  from fontTools.misc.fixedTools import floatToFixedToStr
  from fontTools.misc.textTools import safeEval
  from functools import partial
  from .None import DefaultTable
  from .None import grUtils
  import struct
label_desc: Use image node_id 6 for calling the table_G__l_a_t obj's underlying member method code with example usage: obj.compileAttributes12(attrs, fmt) and returns: data