code: def buildCmapSubTable(cmapping, format, platformID, platEncID):
      subTable = cmap_classes[format](format)
      subTable.cmap = cmapping
      subTable.platformID = platformID
      subTable.platEncID = platEncID
      subTable.language = 0
      return subTable
  
imports: from .ttLib import TTFont, newTable
  from .ttLib.tables._c_m_a_p import cmap_classes
  from .ttLib.tables._g_l_y_f import flagCubic
  from .ttLib.tables.O_S_2f_2 import Panose
  from .misc.timeTools import timestampNow
  import struct
  from collections import OrderedDict
label_desc: Use image node_id 1 for calling a global function with example usage: buildCmapSubTable(cmapping, format, platformID, platEncID) and returns: subTable