Skip to content

fontlab_glyport.fonttools · declarations 001

Back to fontlab_glyport.fonttools

fonttools_module

fonttools_module(name: str, capability: str) -> ModuleType

Prefer a public installation, then FontLab's bundled private module.

Check the root too: a cached submodule must not defeat an unavailable or deliberately blocked package. Never publish private modules under public names in sys.modules; FontLab rewrites their internal imports itself.