def reload_fonts(proportion=font_proportion):
    """Reload the fonts defined in font_cache. Used to update the font sizes withpout restarting the application."""
    log.debug("Reloading fonts.")
    global font_cache
    global font_proportion
    if proportion != font_proportion:
        font_proportion = proportion
    keys = [(os.path.split(a)[-1], b) for a, b in font_cache.keys()]
    font_cache = {}
    while keys:
        name, size = keys.pop()
        get_font(size, name)
    log.debug("Fonts reloaded.")
Reload the fonts defined in font_cache. Used to update the font sizes withpout restarting the application.
albow/resource.py