def font_list(text="test", test=False):
    """
    Print all fonts.

    :param text : input text
    :type text : str
    :param test: test flag
    :type test: bool
    :return: None
    """
    fonts = set(FONT_MAP.keys())
    if test:
        fonts = fonts - set(TEST_FILTERED_FONTS)
    for item in sorted(list(fonts)):
        print(str(item) + " : ")
        text_temp = text
        try:
            tprint(text_temp, str(item))
        except Exception:
            print(FONT_ENVIRONMENT_WARNING)
def font_list ( text = "test" , test = False ) : fonts = set ( FONT_MAP . keys ( ) ) if test : fonts = fonts - set ( TEST_FILTERED_FONTS ) for item in sorted ( list ( fonts ) ) : print ( str ( item ) + " : " ) text_temp = text try : tprint ( text_temp , str ( item ) ) except Exception : print ( FONT_ENVIRONMENT_WARNING )
Print all fonts.

    :param text : input text
    :type text : str
    :param test: test flag
    :type test: bool
    :return: None