MCPcopy Create free account
hub / github.com/coldtype/st2 / mesh

Method mesh

ST2/properties.py:563–578  ·  view source on GitHub ↗
(self, override=False)

Source from the content-addressed store, hash-verified

561 return text
562
563 def mesh(self, override=False):
564 font = self.font()
565 try:
566 mesh = font.font.ttFont["MESH"]
567 except KeyError:
568 mesh = None
569
570 if mesh and self.use_mesh:
571 return mesh
572 else:
573 return None
574
575 # if override is not None:
576 # meshing = mesh and override
577 # else:
578 # meshing = mesh and self.use_mesh
579
580
581classes = [ST2PropertiesGroup]

Callers

nothing calls this directly

Calls 1

fontMethod · 0.95

Tested by

no test coverage detected