You are here

ascii_art_captcha_font_puffy.inc in CAPTCHA Pack 8

Font definition based on figlet font "puffy" (http://www.figlet.org/)

File

ascii_art_captcha/fonts/ascii_art_captcha_font_puffy.inc
View source
<?php

/**
 * @file
 * Font definition based on figlet font "puffy" (http://www.figlet.org/)
 */

/**
 * As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/)
 */
function ascii_art_captcha_font_puffy() {
  $font = [];
  $font['height'] = 8;
  $font['name'] = 'puffy';
  $font['comment'] = 'puffy.flf by Juan Car (jc@juguete.quim.ucm.es)Version 1.1 5/Mar/1994';
  $font['a'] = [
    '       ',
    '       ',
    '   _ _ ',
    ' /\'_` )',
    '( (_| |',
    '`\\__,_)',
    '       ',
    '       ',
  ];
  $font['b'] = [
    ' _     ',
    '( )    ',
    '| |_   ',
    '| \'_`\\ ',
    '| |_) )',
    '(_,__/\'',
    '       ',
    '       ',
  ];
  $font['c'] = [
    '       ',
    '       ',
    '   ___ ',
    ' /\'___)',
    '( (___ ',
    '`\\____)',
    '       ',
    '       ',
  ];
  $font['d'] = [
    '     _ ',
    '    ( )',
    '   _| |',
    ' /\'_` |',
    '( (_| |',
    '`\\__,_)',
    '       ',
    '       ',
  ];
  $font['e'] = [
    '       ',
    '       ',
    '   __  ',
    ' /\'__`\\',
    '(  ___/',
    '`\\____)',
    '       ',
    '       ',
  ];
  $font['f'] = [
    '   ___ ',
    ' /\'___)',
    '| (__  ',
    '| ,__) ',
    '| |    ',
    '(_)    ',
    '       ',
    '       ',
  ];
  $font['g'] = [
    '       ',
    '       ',
    '   __  ',
    ' /\'_ `\\',
    '( (_) |',
    '`\\__  |',
    '( )_) |',
    ' \\___/\'',
  ];
  $font['h'] = [
    ' _     ',
    '( )    ',
    '| |__  ',
    '|  _ `\\',
    '| | | |',
    '(_) (_)',
    '       ',
    '       ',
  ];
  $font['i'] = [
    '   ',
    ' _ ',
    '(_)',
    '| |',
    '| |',
    '(_)',
    '   ',
    '   ',
  ];
  $font['j'] = [
    '       ',
    '     _ ',
    '    (_)',
    '    | |',
    '    | |',
    ' _  | |',
    '( )_| |',
    '`\\___/\'',
  ];
  $font['k'] = [
    ' _     ',
    '( )    ',
    '| |/\') ',
    '| , <  ',
    '| |\\`\\ ',
    '(_) (_)',
    '       ',
    '       ',
  ];
  $font['l'] = [
    ' _   ',
    '(_ ) ',
    ' | | ',
    ' | | ',
    ' | | ',
    '(___)',
    '     ',
    '     ',
  ];
  $font['m'] = [
    '           ',
    '           ',
    '  ___ ___  ',
    '/\' _ ` _ `\\',
    '| ( ) ( ) |',
    '(_) (_) (_)',
    '           ',
    '           ',
  ];
  $font['n'] = [
    '       ',
    '       ',
    '  ___  ',
    '/\' _ `\\',
    '| ( ) |',
    '(_) (_)',
    '       ',
    '       ',
  ];
  $font['o'] = [
    '       ',
    '       ',
    '   _   ',
    ' /\'_`\\ ',
    '( (_) )',
    '`\\___/\'',
    '       ',
    '       ',
  ];
  $font['p'] = [
    '       ',
    '       ',
    ' _ _   ',
    '( \'_`\\ ',
    '| (_) )',
    '| ,__/\'',
    '| |    ',
    '(_)    ',
  ];
  $font['q'] = [
    '       ',
    '       ',
    '   _ _ ',
    ' /\'_` )',
    '( (_) |',
    '`\\__, |',
    '    | |',
    '    (_)',
  ];
  $font['r'] = [
    '      ',
    '      ',
    ' _ __ ',
    '( \'__)',
    '| |   ',
    '(_)   ',
    '      ',
    '      ',
  ];
  $font['s'] = [
    '      ',
    '      ',
    '  ___ ',
    '/\',__)',
    '\\__, \\',
    '(____/',
    '      ',
    '      ',
  ];
  $font['t'] = [
    ' _   ',
    '( )_ ',
    '| ,_)',
    '| |  ',
    '| |_ ',
    '`\\__)',
    '     ',
    '     ',
  ];
  $font['u'] = [
    '       ',
    '       ',
    ' _   _ ',
    '( ) ( )',
    '| (_) |',
    '`\\___/\'',
    '       ',
    '       ',
  ];
  $font['v'] = [
    '       ',
    '       ',
    ' _   _ ',
    '( ) ( )',
    '| \\_/ |',
    '`\\___/\'',
    '       ',
    '       ',
  ];
  $font['w'] = [
    '           ',
    '           ',
    ' _   _   _ ',
    '( ) ( ) ( )',
    '| \\_/ \\_/ |',
    '`\\___x___/\'',
    '           ',
    '           ',
  ];
  $font['x'] = [
    '      ',
    '      ',
    '      ',
    '(`\\/\')',
    ' >  < ',
    '(_/\\_)',
    '      ',
    '      ',
  ];
  $font['y'] = [
    '       ',
    '       ',
    ' _   _ ',
    '( ) ( )',
    '| (_) |',
    '`\\__, |',
    '( )_| |',
    '`\\___/\'',
  ];
  $font['z'] = [
    '      ',
    '      ',
    ' ____ ',
    '(_  ,)',
    ' /\'/_ ',
    '(____)',
    '      ',
    '      ',
  ];
  $font['A'] = [
    ' _____ ',
    '(  _  )',
    '| (_) |',
    '|  _  |',
    '| | | |',
    '(_) (_)',
    '       ',
    '       ',
  ];
  $font['B'] = [
    ' ___   ',
    '(  _`\\ ',
    '| (_) )',
    '|  _ <\'',
    '| (_) )',
    '(____/\'',
    '       ',
    '       ',
  ];
  $font['C'] = [
    ' ___   ',
    '(  _`\\ ',
    '| ( (_)',
    '| |  _ ',
    '| (_( )',
    '(____/\'',
    '       ',
    '       ',
  ];
  $font['D'] = [
    ' ___   ',
    '(  _`\\ ',
    '| | ) |',
    '| | | )',
    '| |_) |',
    '(____/\'',
    '       ',
    '       ',
  ];
  $font['E'] = [
    ' ___   ',
    '(  _`\\ ',
    '| (_(_)',
    '|  _)_ ',
    '| (_( )',
    '(____/\'',
    '       ',
    '       ',
  ];
  $font['F'] = [
    ' ___   ',
    '(  _`\\ ',
    '| (_(_)',
    '|  _)  ',
    '| |    ',
    '(_)    ',
    '       ',
    '       ',
  ];
  $font['G'] = [
    ' ___   ',
    '(  _`\\ ',
    '| ( (_)',
    '| |___ ',
    '| (_, )',
    '(____/\'',
    '       ',
    '       ',
  ];
  $font['H'] = [
    ' _   _ ',
    '( ) ( )',
    '| |_| |',
    '|  _  |',
    '| | | |',
    '(_) (_)',
    '       ',
    '       ',
  ];
  $font['I'] = [
    ' _ ',
    '(_)',
    '| |',
    '| |',
    '| |',
    '(_)',
    '   ',
    '   ',
  ];
  $font['J'] = [
    ' _____ ',
    '(___  )',
    '    | |',
    ' _  | |',
    '( )_| |',
    '`\\___/\'',
    '       ',
    '       ',
  ];
  $font['K'] = [
    ' _   _ ',
    '( ) ( )',
    '| |/\'/\'',
    '| , <  ',
    '| |\\`\\ ',
    '(_) (_)',
    '       ',
    '       ',
  ];
  $font['L'] = [
    ' _     ',
    '( )    ',
    '| |    ',
    '| |  _ ',
    '| |_( )',
    '(____/\'',
    '       ',
    '       ',
  ];
  $font['M'] = [
    '       ',
    '/\'\\_/`\\',
    '|     |',
    '| (_) |',
    '| | | |',
    '(_) (_)',
    '       ',
    '       ',
  ];
  $font['N'] = [
    ' _   _ ',
    '( ) ( )',
    '| `\\| |',
    '| , ` |',
    '| |`\\ |',
    '(_) (_)',
    '       ',
    '       ',
  ];
  $font['O'] = [
    ' _____ ',
    '(  _  )',
    '| ( ) |',
    '| | | |',
    '| (_) |',
    '(_____)',
    '       ',
    '       ',
  ];
  $font['P'] = [
    ' ___   ',
    '(  _`\\ ',
    '| |_) )',
    '| ,__/\'',
    '| |    ',
    '(_)    ',
    '       ',
    '       ',
  ];
  $font['Q'] = [
    ' _____ ',
    '(  _  )',
    '| ( ) |',
    '| | | |',
    '| ((\'\\|',
    '(___\\_)',
    '       ',
    '       ',
  ];
  $font['R'] = [
    ' ___   ',
    '|  _`\\ ',
    '| (_) )',
    '| ,  / ',
    '| |\\ \\ ',
    '(_) (_)',
    '       ',
    '       ',
  ];
  $font['S'] = [
    ' ___   ',
    '(  _`\\ ',
    '| (_(_)',
    '`\\__ \\ ',
    '( )_) |',
    '`\\____)',
    '       ',
    '       ',
  ];
  $font['T'] = [
    ' _____ ',
    '(_   _)',
    '  | |  ',
    '  | |  ',
    '  | |  ',
    '  (_)  ',
    '       ',
    '       ',
  ];
  $font['U'] = [
    ' _   _ ',
    '( ) ( )',
    '| | | |',
    '| | | |',
    '| (_) |',
    '(_____)',
    '       ',
    '       ',
  ];
  $font['V'] = [
    ' _   _ ',
    '( ) ( )',
    '| | | |',
    '| | | |',
    '| \\_/ |',
    '`\\___/\'',
    '       ',
    '       ',
  ];
  $font['W'] = [
    ' _       _ ',
    '( )  _  ( )',
    '| | ( ) | |',
    '| | | | | |',
    '| (_/ \\_) |',
    '`\\___x___/\'',
    '           ',
    '           ',
  ];
  $font['X'] = [
    ' _    _ ',
    '( )  ( )',
    '`\\`\\/\'/\'',
    '  >  <  ',
    ' /\'/\\`\\ ',
    '(_)  (_)',
    '        ',
    '        ',
  ];
  $font['Y'] = [
    ' _     _ ',
    '( )   ( )',
    '`\\`\\_/\'/\'',
    '  `\\ /\'  ',
    '   | |   ',
    '   (_)   ',
    '         ',
    '         ',
  ];
  $font['Z'] = [
    ' _______ ',
    '(_____  )',
    '     /\'/\'',
    '   /\'/\'  ',
    ' /\'/\'___ ',
    '(_______)',
    '         ',
    '         ',
  ];
  $font['0'] = [
    '  __   ',
    '/\' _`\\ ',
    '| ( ) |',
    '| | | |',
    '| (_) |',
    '`\\___/\'',
    '       ',
    '       ',
  ];
  $font['1'] = [
    '   _ ',
    ' /\' )',
    '(_, |',
    '  | |',
    '  | |',
    '  (_)',
    '     ',
    '     ',
  ];
  $font['2'] = [
    '   __   ',
    ' /\'__`\\ ',
    '(_)  ) )',
    '   /\' / ',
    ' /\' /( )',
    '(_____/\'',
    '        ',
    '        ',
  ];
  $font['3'] = [
    '   ___ ',
    ' /\'_  )',
    '(_)_) |',
    ' _(_ < ',
    '( )_) |',
    '`\\____)',
    '       ',
    '       ',
  ];
  $font['4'] = [
    ' _  _   ',
    '( )( )  ',
    '| || |  ',
    '| || |_ ',
    '(__ ,__)',
    '   (_)  ',
    '        ',
    '        ',
  ];
  $font['5'] = [
    ' _____ ',
    '(  ___)',
    '| (__  ',
    '|___ `\\',
    '( )_) |',
    '`\\___/\'',
    '       ',
    '       ',
  ];
  $font['6'] = [
    ' _____ ',
    '(  ___)',
    '| (__  ',
    '|  _ `\\',
    '| (_) |',
    '`\\___/\'',
    '       ',
    '       ',
  ];
  $font['7'] = [
    ' _______ ',
    '(_____  )',
    '     /\'/\'',
    '   /\'/\'  ',
    ' /\'/\'    ',
    '(_/      ',
    '         ',
    '         ',
  ];
  $font['8'] = [
    '   _   ',
    ' /\'_`\\ ',
    '( (_) )',
    ' > _ <\'',
    '( (_) )',
    '`\\___/\'',
    '       ',
    '       ',
  ];
  $font['9'] = [
    '   __  ',
    ' /\'_ `\\',
    '( (_) |',
    ' \\__, |',
    '    | |',
    '    (_)',
    '       ',
    '       ',
  ];
  return $font;
}

Functions