# varStore

fontTools.varLib.varStore.bit_count(self, /)

  Number of ones in the binary representation of the absolute value of self.

  Also known as the population count.

      >>> bin(13)
      '0b1101'
      >>> (13).bit_count()
      3

class fontTools.varLib.varStore.OnlineVarStoreBuilder(axisTags)

  Bases: `object`

  setModel(model)
  setSupports(supports)
  finish(optimize=True)
  storeMasters(master_values, *, round=<built-in function round>)
  storeMastersMany(master_values_list, *, round=<built-in function round>)
  storeDeltas(deltas, *, round=<built-in function round>)
  storeDeltasMany(deltas_list, *, round=<built-in function round>)

fontTools.varLib.varStore.VarData_addItem(self, deltas, *, round=<built-in function round>)

fontTools.varLib.varStore.VarRegion_get_support(self, fvar_axes)

fontTools.varLib.varStore.VarStore___bool__(self)

class fontTools.varLib.varStore.VarStoreInstancer(varstore, fvar_axes, location={})

  Bases: `object`

  setLocation(location)
  static interpolateFromDeltasAndScalars(deltas, scalars)
  interpolateFromDeltas(varDataIndex, deltas)

fontTools.varLib.varStore.VarStore_subset_varidxes(self, varIdxes, optimize=True, retainFirstMap=False, advIdxes={}, *, VarData='VarData')

fontTools.varLib.varStore.VarStore_prune_regions(self, *, VarData='VarData', VarRegionList='VarRegionList')

  Remove unused VarRegions.

fontTools.varLib.varStore.Object_collect_device_varidxes(self, varidxes)

fontTools.varLib.varStore.Object_remap_device_varidxes(self, varidxes_map)

fontTools.varLib.varStore.VarStore_optimize(self, use_NO_VARIATION_INDEX=True, quantization=1)

  Optimize storage. Returns mapping from old VarIdxes to new ones.

fontTools.varLib.varStore.main(args=None)

  Optimize a font’s GDEF variation store