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 toXML(self, writer, ttFont):
      writer.simpletag("majorVersion", value=self.majorVersion)
      writer.newline()
      writer.simpletag("minorVersion", value=self.minorVersion)
      writer.newline()
      writer.simpletag(
          "defaultVertOriginY", value=self.defaultVertOriginY
      )
      writer.newline()
      writer.simpletag(
          "numVertOriginYMetrics", value=self.numVertOriginYMetrics
      )
      writer.newline()
      vOriginTable = []
      glyphNames = self.VOriginRecords.keys()
      for glyphName in glyphNames:
          try:
              gid = ttFont.getGlyphID(glyphName)
          except:
              assert 0, (
                  "VORG table contains a glyph name not in ttFont.getGlyphNames(): "
                  + str(glyphName)
              )
          vOriginTable.append(
              [gid, glyphName, self.VOriginRecords[glyphName]]
          )
      vOriginTable.sort()
      for entry in vOriginTable:
          vOriginRec = VOriginRecord(entry[1], entry[2])
          vOriginRec.toXML(writer, ttFont)
  
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 3 for calling the table_V_O_R_G_ obj's underlying member method code with example usage: obj.toXML(writer, ttFont) without return types