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

Method installFont

Lib/pagebot/contexts/basecontext/basebuilder.py:34–38  ·  view source on GitHub ↗
(self, fontPath)

Source from the content-addressed store, hash-verified

32 # T E X T
33
34 def installFont(self, fontPath):
35 self._installedFonts.append(fontPath)
36 if os.path.exists(fontPath):
37 return path2Name(fontPath)
38 return None
39
40 def fontName2FontPath(self, fontName):
41 """We cannot tell the relation of the font name and the font path for

Callers

nothing calls this directly

Calls 2

path2NameFunction · 0.90
appendMethod · 0.45

Tested by

no test coverage detected