MCPcopy Create free account
hub / github.com/PageBot/PageBot / save

Method save

Lib/pagebot/fonttoolbox/objects/font.py:1116–1118  ·  view source on GitHub ↗

Save the font to optional path or to self.path.

(self, path=None)

Source from the content-addressed store, hash-verified

1114 groups = property(_get_groups)
1115
1116 def save(self, path=None):
1117 """Save the font to optional path or to self.path."""
1118 self.ttFont.save(path or self.path)
1119
1120 def getAscender(self): # DrawBot compatible
1121 """Answer the ascender value in em-units from [hhea] table, as use by browser.

Callers 15

getInstance2Function · 0.95
makeInstanceFunction · 0.95
generateInstanceFunction · 0.45
buildFrameMethod · 0.45
_applyScaleMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
drawMethod · 0.45
drawAnimatedFrameMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected