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

Function getPageBotFontPaths

Lib/pagebot/fonttoolbox/fontpaths.py:89–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 collectedFontPaths[fontName] = path
88
89def getPageBotFontPaths():
90 paths = {}
91 testFontsPath = getTestFontsPath()
92 _recursivelyCollectFontPaths(testFontsPath, paths)
93 return paths
94
95def getFontPaths(extraPaths=None):
96 """Answers a dictionary with all available font paths on the platform, key

Callers

nothing calls this directly

Calls 2

getTestFontsPathFunction · 0.85

Tested by

no test coverage detected