@classmethod
    def load_font(cls, filename):
        with timed_loading_operation(filename):
            return Globals.base.loader.load_font(filename)
Loads a font from disk
dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/loader.py/RPLoader.load_font