class_docstr: Support Graphite Glat tables
class_docstr_tok: ["Support","Graphite","Glat","tables"]
code: def decompile(self, data, ttFont):
      sstruct.unpack2(Glat_format_0, data, self)
      self.version = float(
          floatToFixedToStr(self.version, precisionBits=16)
      )
      if self.version <= 1.9:
          decoder = partial(
              self.decompileAttributes12, fmt=Glat_format_1_entry
          )
      elif self.version <= 2.9:
          decoder = partial(
              self.decompileAttributes12, fmt=Glat_format_23_entry
          )
      elif self.version >= 3.0:
          (data, self.scheme) = grUtils.decompress(data)
          sstruct.unpack2(Glat_format_3, data, self)
          self.hasOctaboxes = (self.compression & 1) == 1
          decoder = self.decompileAttributes3
  
      gloc = ttFont["Gloc"]
      self.attributes = {}
      count = 0
      for s, e in zip(gloc, gloc[1:]):
          self.attributes[ttFont.getGlyphName(count)] = decoder(
              data[s:e]
          )
          count += 1
  
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 2 for calling the table_G__l_a_t obj's underlying member method code with example usage: obj.decompile(data, ttFont) without return types