run.py
def load_fonts(lang):
    """
        Load all fonts in the fonts directories
    """

    if lang == 'cn':
        return [os.path.join('fonts/cn', font) for font in os.listdir('fonts/cn')]
    elif lang == 'latin':
        return [os.path.join('fonts/latin', font) for font in os.listdir('fonts/latin')]
    elif lang == 'jp':
        return [os.path.join('fonts/jp', font) for font in os.listdir('fonts/jp')]
    elif lang == 'pass':
        return [os.path.join('fonts', font) for font in os.listdir('fonts')]
    elif lang == 'pass2':
        return [os.path.join('fonts', font) for font in os.listdir('fonts')]

        Load all fonts in the fonts directories
    
Load all fonts in the fonts directories
Load all fonts in the fonts directories
def load_fonts(lang):
    if lang == 'cn':
        return [os.path.join('fonts/cn', font) for font in os.listdir('fonts/cn')]
    elif lang == 'latin':
        return [os.path.join('fonts/latin', font) for font in os.listdir('fonts/latin')]
    elif lang == 'jp':
        return [os.path.join('fonts/jp', font) for font in os.listdir('fonts/jp')]
    elif lang == 'pass':
        return [os.path.join('fonts', font) for font in os.listdir('fonts')]
    elif lang == 'pass2':
        return [os.path.join('fonts', font) for font in os.listdir('fonts')]
def load_fonts ( lang ) : if lang == 'cn' : return [ os . path . join ( 'fonts/cn' , font ) for font in os . listdir ( 'fonts/cn' ) ] elif lang == 'latin' : return [ os . path . join ( 'fonts/latin' , font ) for font in os . listdir ( 'fonts/latin' ) ] elif lang == 'jp' : return [ os . path . join ( 'fonts/jp' , font ) for font in os . listdir ( 'fonts/jp' ) ] elif lang == 'pass' : return [ os . path . join ( 'fonts' , font ) for font in os . listdir ( 'fonts' ) ] elif lang == 'pass2' : return [ os . path . join ( 'fonts' , font ) for font in os . listdir ( 'fonts' ) ]
Load all fonts in the fonts directories
Load all fonts in the fonts directories
"""
        Load all fonts in the fonts directories
    """
lang