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

Function getMasterPath

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

Answers the path to read master fonts, which typically is a /Fonts/ folder. Default is at the same level as pagebot module.

()

Source from the content-addressed store, hash-verified

236 return lineHeight
237
238def getMasterPath():
239 """Answers the path to read master fonts, which typically is a
240 <username>/Fonts/ folder. Default is at the same level as pagebot
241 module."""
242 return os.path.expanduser("~") + '/Fonts/'
243
244def getInstancePath():
245 """Answers the path to write instance fonts, which typically is the

Callers 1

getInstancePathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected