Beispiel #1
0
    def __init__(self, madcow=None):
        zipfile = os.path.join(madcow.dir, 'include/fonts.zip')
        self.figlet = Figlet(zipfile=zipfile)

        # pre-approved list of fonts to use
        self.fonts = ('5lineoblique', 'acrobatic', 'alligator', 'alligator2',
                      'asc_____', 'ascii___', 'avatar', 'big', 'bigchief',
                      'block', 'bubble', 'bulbhead', 'chunky', 'colossal',
                      'computer', 'cosmic', 'crawford', 'cursive', 'digital',
                      'dotmatrix', 'double', 'drpepper', 'eftifont',
                      'eftirobot', 'eftiwall', 'eftiwater', 'epic', 'fourtops',
                      'fuzzy', 'goofy', 'graceful', 'gradient', 'graffiti',
                      'hollywood', 'invita', 'italic', 'larry3d', 'lean',
                      'maxfour', 'mini', 'nvscript', 'o8', 'pawp', 'pepper',
                      'puffy', 'rectangles', 'shadow', 'slant', 'small',
                      'smkeyboard', 'smshadow', 'smslant', 'speed',
                      'stampatello', 'standard', 'straight', 'twopoint')