class_docstr: This table is structured so that you can treat it like a dictionary keyed by glyph name.
  
  ``ttFont['VORG'][<glyphName>]`` will return the vertical origin for any glyph.
  
  ``ttFont['VORG'][<glyphName>] = <value>`` will set the vertical origin for any glyph.
class_docstr_tok: ["This","table","is","structured","so","that","you","can","treat","it","like","a","dictionary","keyed","by","glyph","name",".","``","ttFont","[","'VORG","'","]","[","<","glyphName",">","]","``","will","return","the","vertical","origin","for","any","glyph",".","``","ttFont","[","'VORG","'","]","[","<","glyphName",">","]","=","<","value",">","``","will","set","the","vertical","origin","for","any","glyph","."]
code: def decompile(self, data, ttFont):
      self.getGlyphName = (
          ttFont.getGlyphName
      )  # for use in get/set item functions, for access by GID
      (
          self.majorVersion,
          self.minorVersion,
          self.defaultVertOriginY,
          self.numVertOriginYMetrics,
      ) = struct.unpack(">HHhH", data[:8])
      assert (
          self.majorVersion <= 1
      ), "Major version of VORG table is higher than I know how to handle"
      data = data[8:]
      vids = []
      gids = []
      pos = 0
      for i in range(self.numVertOriginYMetrics):
          gid, vOrigin = struct.unpack(">Hh", data[pos : pos + 4])
          pos += 4
          gids.append(gid)
          vids.append(vOrigin)
  
      self.VOriginRecords = vOrig = {}
      glyphOrder = ttFont.getGlyphOrder()
      try:
          names = [glyphOrder[gid] for gid in gids]
      except IndexError:
          getGlyphName = self.getGlyphName
          names = map(getGlyphName, gids)
  
      for name, vid in zip(names, vids):
          vOrig[name] = vid
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/V_O_R_G_.py
imports: from fontTools.misc.textTools import bytesjoin, safeEval
  from .None import DefaultTable
  import struct
label_desc: Use image node_id 1 for calling the table_V_O_R_G_ obj's underlying member method code with example usage: obj.decompile(data, ttFont) without return types