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

Function getInstancePath

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

Answers the path to write instance fonts, which typically is the /Fonts/_instances/ folder.

()

Source from the content-addressed store, hash-verified

242 return os.path.expanduser("~") + '/Fonts/'
243
244def getInstancePath():
245 """Answers the path to write instance fonts, which typically is the
246
247 <username>/Fonts/_instances/
248
249 folder."""
250 return getMasterPath() + '_instances/'
251
252def getScaledValue(vf, tag, value):
253 """Answers the scaled value for the "tag" axis, where value (-1..0..1) is

Callers 2

getInstance2Function · 0.70
makeInstanceFunction · 0.70

Calls 1

getMasterPathFunction · 0.70

Tested by

no test coverage detected