code: def _fontVersion(font, platform=(3, 1, 0x409)):
      nameRecord = font["name"].getName(
          NameID.VERSION_STRING, *platform
      )
      if nameRecord is None:
          return f'{font["head"].fontRevision:.3f}'
      # "Version 1.101; ttfautohint (v1.8.1.43-b0c9)" --> "1.101"
      # Also works fine with inputs "Version 1.101" or "1.101" etc
      versionNumber = nameRecord.toUnicode().split(";")[0]
      return versionNumber.lstrip("Version ").strip()
  
file_path: catboost/contrib/python/fonttools/fontTools/varLib/instancer/names.py
imports: from contextlib import contextmanager
  from copy import deepcopy
  from enum import IntEnum
  import re
label_desc: Use image node_id 11 for calling a global function with example usage: _fontVersion(font, platform) and returns: versionNumber, font