You are here

ascii_art_captcha_font_colossal.inc in CAPTCHA Pack 8

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

File

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

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

/**
 * As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/)
 */
function ascii_art_captcha_font_colossal() {
  $font = [];
  $font['height'] = 11;
  $font['name'] = 'colossal';
  $font['comment'] = 'Colossal.flf (Jonathon - jon@mq.edu.au)8 June 1994Explanation of first line:flf2 - "magic number" for file identificationa    - should always be `a\', for now$    - the "hardblank" -- prints as a blank, but can\'t be smushed11   - height of a character8    - height of a character, not including descenders20   - max line length (excluding comment lines) + a fudge factor32   - default smushmode for this font13   - number of comment lines';
  $font['a'] = [
    '         ',
    '         ',
    '         ',
    ' 8888b.  ',
    '    "88b ',
    '.d888888 ',
    '888  888 ',
    '"Y888888 ',
    '         ',
    '         ',
    '         ',
  ];
  $font['b'] = [
    '888      ',
    '888      ',
    '888      ',
    '88888b.  ',
    '888 "88b ',
    '888  888 ',
    '888 d88P ',
    '88888P"  ',
    '         ',
    '         ',
    '         ',
  ];
  $font['c'] = [
    '         ',
    '         ',
    '         ',
    ' .d8888b ',
    'd88P"    ',
    '888      ',
    'Y88b.    ',
    ' "Y8888P ',
    '         ',
    '         ',
    '         ',
  ];
  $font['d'] = [
    '     888 ',
    '     888 ',
    '     888 ',
    ' .d88888 ',
    'd88" 888 ',
    '888  888 ',
    'Y88b 888 ',
    ' "Y88888 ',
    '         ',
    '         ',
    '         ',
  ];
  $font['e'] = [
    '         ',
    '         ',
    '         ',
    ' .d88b.  ',
    'd8P  Y8b ',
    '88888888 ',
    'Y8b.     ',
    ' "Y8888  ',
    '         ',
    '         ',
    '         ',
  ];
  $font['f'] = [
    ' .d888 ',
    'd88P"  ',
    '888    ',
    '888888 ',
    '888    ',
    '888    ',
    '888    ',
    '888    ',
    '       ',
    '       ',
    '       ',
  ];
  $font['g'] = [
    '         ',
    '         ',
    '         ',
    ' .d88b.  ',
    'd88P"88b ',
    '888  888 ',
    'Y88b 888 ',
    ' "Y88888 ',
    '     888 ',
    'Y8b d88P ',
    ' "Y88P"  ',
  ];
  $font['h'] = [
    '888      ',
    '888      ',
    '888      ',
    '88888b.  ',
    '888 "88b ',
    '888  888 ',
    '888  888 ',
    '888  888 ',
    '         ',
    '         ',
    '         ',
  ];
  $font['i'] = [
    'd8b ',
    'Y8P ',
    '    ',
    '888 ',
    '888 ',
    '888 ',
    '888 ',
    '888 ',
    '    ',
    '    ',
    '    ',
  ];
  $font['j'] = [
    '   d8b ',
    '   Y8P ',
    '       ',
    '  8888 ',
    '  "888 ',
    '   888 ',
    '   888 ',
    '   888 ',
    '   888 ',
    '  d88P ',
    '888P"  ',
  ];
  $font['k'] = [
    '888      ',
    '888      ',
    '888      ',
    '888  888 ',
    '888 .88P ',
    '888888K  ',
    '888 "88b ',
    '888  888 ',
    '         ',
    '         ',
    '         ',
  ];
  $font['l'] = [
    '888 ',
    '888 ',
    '888 ',
    '888 ',
    '888 ',
    '888 ',
    '888 ',
    '888 ',
    '    ',
    '    ',
    '    ',
  ];
  $font['m'] = [
    '              ',
    '              ',
    '              ',
    '88888b.d88b.  ',
    '888 "888 "88b ',
    '888  888  888 ',
    '888  888  888 ',
    '888  888  888 ',
    '              ',
    '              ',
    '              ',
  ];
  $font['n'] = [
    '         ',
    '         ',
    '         ',
    '88888b.  ',
    '888 "88b ',
    '888  888 ',
    '888  888 ',
    '888  888 ',
    '         ',
    '         ',
    '         ',
  ];
  $font['o'] = [
    '         ',
    '         ',
    '         ',
    ' .d88b.  ',
    'd88""88b ',
    '888  888 ',
    'Y88..88P ',
    ' "Y88P"  ',
    '         ',
    '         ',
    '         ',
  ];
  $font['p'] = [
    '         ',
    '         ',
    '         ',
    '88888b.  ',
    '888 "88b ',
    '888  888 ',
    '888 d88P ',
    '88888P"  ',
    '888      ',
    '888      ',
    '888      ',
  ];
  $font['q'] = [
    '         ',
    '         ',
    '         ',
    ' .d88888 ',
    'd88" 888 ',
    '888  888 ',
    'Y88b 888 ',
    ' "Y88888 ',
    '     888 ',
    '     888 ',
    '     888 ',
  ];
  $font['r'] = [
    '        ',
    '        ',
    '        ',
    '888d888 ',
    '888P"   ',
    '888     ',
    '888     ',
    '888     ',
    '        ',
    '        ',
    '        ',
  ];
  $font['s'] = [
    '         ',
    '         ',
    '         ',
    '.d8888b  ',
    '88K      ',
    '"Y8888b. ',
    '     X88 ',
    ' 88888P\' ',
    '         ',
    '         ',
    '         ',
  ];
  $font['t'] = [
    '888    ',
    '888    ',
    '888    ',
    '888888 ',
    '888    ',
    '888    ',
    'Y88b.  ',
    ' "Y888 ',
    '       ',
    '       ',
    '       ',
  ];
  $font['u'] = [
    '         ',
    '         ',
    '         ',
    '888  888 ',
    '888  888 ',
    '888  888 ',
    'Y88b 888 ',
    ' "Y88888 ',
    '         ',
    '         ',
    '         ',
  ];
  $font['v'] = [
    '         ',
    '         ',
    '         ',
    '888  888 ',
    '888  888 ',
    'Y88  88P ',
    ' Y8bd8P  ',
    '  Y88P   ',
    '         ',
    '         ',
    '         ',
  ];
  $font['w'] = [
    '              ',
    '              ',
    '              ',
    '888  888  888 ',
    '888  888  888 ',
    '888  888  888 ',
    'Y88b 888 d88P ',
    ' "Y8888888P"  ',
    '              ',
    '              ',
    '              ',
  ];
  $font['x'] = [
    '         ',
    '         ',
    '         ',
    '888  888 ',
    '`Y8bd8P\' ',
    '  X88K   ',
    '.d8""8b. ',
    '888  888 ',
    '         ',
    '         ',
    '         ',
  ];
  $font['y'] = [
    '         ',
    '         ',
    '         ',
    '888  888 ',
    '888  888 ',
    '888  888 ',
    'Y88b 888 ',
    ' "Y88888 ',
    '     888 ',
    'Y8b d88P ',
    ' "Y88P"  ',
  ];
  $font['z'] = [
    '         ',
    '         ',
    '         ',
    '88888888 ',
    '   d88P  ',
    '  d88P   ',
    ' d88P    ',
    '88888888 ',
    '         ',
    '         ',
    '         ',
  ];
  $font['A'] = [
    '       d8888 ',
    '      d88888 ',
    '     d88P888 ',
    '    d88P 888 ',
    '   d88P  888 ',
    '  d88P   888 ',
    ' d8888888888 ',
    'd88P     888 ',
    '             ',
    '             ',
    '             ',
  ];
  $font['B'] = [
    '888888b.   ',
    '888  "88b  ',
    '888  .88P  ',
    '8888888K.  ',
    '888  "Y88b ',
    '888    888 ',
    '888   d88P ',
    '8888888P"  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['C'] = [
    ' .d8888b.  ',
    'd88P  Y88b ',
    '888    888 ',
    '888        ',
    '888        ',
    '888    888 ',
    'Y88b  d88P ',
    ' "Y8888P"  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['D'] = [
    '8888888b.  ',
    '888  "Y88b ',
    '888    888 ',
    '888    888 ',
    '888    888 ',
    '888    888 ',
    '888  .d88P ',
    '8888888P"  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['E'] = [
    '8888888888 ',
    '888        ',
    '888        ',
    '8888888    ',
    '888        ',
    '888        ',
    '888        ',
    '8888888888 ',
    '           ',
    '           ',
    '           ',
  ];
  $font['F'] = [
    '8888888888 ',
    '888        ',
    '888        ',
    '8888888    ',
    '888        ',
    '888        ',
    '888        ',
    '888        ',
    '           ',
    '           ',
    '           ',
  ];
  $font['G'] = [
    ' .d8888b.  ',
    'd88P  Y88b ',
    '888    888 ',
    '888        ',
    '888  88888 ',
    '888    888 ',
    'Y88b  d88P ',
    ' "Y8888P88 ',
    '           ',
    '           ',
    '           ',
  ];
  $font['H'] = [
    '888    888 ',
    '888    888 ',
    '888    888 ',
    '8888888888 ',
    '888    888 ',
    '888    888 ',
    '888    888 ',
    '888    888 ',
    '           ',
    '           ',
    '           ',
  ];
  $font['I'] = [
    '8888888 ',
    '  888   ',
    '  888   ',
    '  888   ',
    '  888   ',
    '  888   ',
    '  888   ',
    '8888888 ',
    '        ',
    '        ',
    '        ',
  ];
  $font['J'] = [
    '  888888 ',
    '    "88b ',
    '     888 ',
    '     888 ',
    '     888 ',
    '     888 ',
    '     88P ',
    '     888 ',
    '   .d88P ',
    ' .d88P"  ',
    '888P"    ',
  ];
  $font['K'] = [
    '888    d8P  ',
    '888   d8P   ',
    '888  d8P    ',
    '888d88K     ',
    '8888888b    ',
    '888  Y88b   ',
    '888   Y88b  ',
    '888    Y88b ',
    '            ',
    '            ',
    '            ',
  ];
  $font['L'] = [
    '888      ',
    '888      ',
    '888      ',
    '888      ',
    '888      ',
    '888      ',
    '888      ',
    '88888888 ',
    '         ',
    '         ',
    '         ',
  ];
  $font['M'] = [
    '888b     d888 ',
    '8888b   d8888 ',
    '88888b.d88888 ',
    '888Y88888P888 ',
    '888 Y888P 888 ',
    '888  Y8P  888 ',
    '888   "   888 ',
    '888       888 ',
    '              ',
    '              ',
    '              ',
  ];
  $font['N'] = [
    '888b    888 ',
    '8888b   888 ',
    '88888b  888 ',
    '888Y88b 888 ',
    '888 Y88b888 ',
    '888  Y88888 ',
    '888   Y8888 ',
    '888    Y888 ',
    '            ',
    '            ',
    '            ',
  ];
  $font['O'] = [
    ' .d88888b.  ',
    'd88P" "Y88b ',
    '888     888 ',
    '888     888 ',
    '888     888 ',
    '888     888 ',
    'Y88b. .d88P ',
    ' "Y88888P"  ',
    '            ',
    '            ',
    '            ',
  ];
  $font['P'] = [
    '8888888b.  ',
    '888   Y88b ',
    '888    888 ',
    '888   d88P ',
    '8888888P"  ',
    '888        ',
    '888        ',
    '888        ',
    '           ',
    '           ',
    '           ',
  ];
  $font['Q'] = [
    ' .d88888b.  ',
    'd88P" "Y88b ',
    '888     888 ',
    '888     888 ',
    '888     888 ',
    '888 Y8b 888 ',
    'Y88b.Y8b88P ',
    ' "Y888888"  ',
    '       Y8b  ',
    '            ',
    '            ',
  ];
  $font['R'] = [
    '8888888b.  ',
    '888   Y88b ',
    '888    888 ',
    '888   d88P ',
    '8888888P"  ',
    '888 T88b   ',
    '888  T88b  ',
    '888   T88b ',
    '           ',
    '           ',
    '           ',
  ];
  $font['S'] = [
    ' .d8888b.  ',
    'd88P  Y88b ',
    'Y88b.      ',
    ' "Y888b.   ',
    '    "Y88b. ',
    '      "888 ',
    'Y88b  d88P ',
    ' "Y8888P"  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['T'] = [
    '88888888888 ',
    '    888     ',
    '    888     ',
    '    888     ',
    '    888     ',
    '    888     ',
    '    888     ',
    '    888     ',
    '            ',
    '            ',
    '            ',
  ];
  $font['U'] = [
    '888     888 ',
    '888     888 ',
    '888     888 ',
    '888     888 ',
    '888     888 ',
    '888     888 ',
    'Y88b. .d88P ',
    ' "Y88888P"  ',
    '            ',
    '            ',
    '            ',
  ];
  $font['V'] = [
    '888     888 ',
    '888     888 ',
    '888     888 ',
    'Y88b   d88P ',
    ' Y88b d88P  ',
    '  Y88o88P   ',
    '   Y888P    ',
    '    Y8P     ',
    '            ',
    '            ',
    '            ',
  ];
  $font['W'] = [
    '888       888 ',
    '888   o   888 ',
    '888  d8b  888 ',
    '888 d888b 888 ',
    '888d88888b888 ',
    '88888P Y88888 ',
    '8888P   Y8888 ',
    '888P     Y888 ',
    '              ',
    '              ',
    '              ',
  ];
  $font['X'] = [
    'Y88b   d88P ',
    ' Y88b d88P  ',
    '  Y88o88P   ',
    '   Y888P    ',
    '   d888b    ',
    '  d88888b   ',
    ' d88P Y88b  ',
    'd88P   Y88b ',
    '            ',
    '            ',
    '            ',
  ];
  $font['Y'] = [
    'Y88b   d88P ',
    ' Y88b d88P  ',
    '  Y88o88P   ',
    '   Y888P    ',
    '    888     ',
    '    888     ',
    '    888     ',
    '    888     ',
    '            ',
    '            ',
    '            ',
  ];
  $font['Z'] = [
    '8888888888P ',
    '      d88P  ',
    '     d88P   ',
    '    d88P    ',
    '   d88P     ',
    '  d88P      ',
    ' d88P       ',
    'd8888888888 ',
    '            ',
    '            ',
    '            ',
  ];
  $font['0'] = [
    ' .d8888b.  ',
    'd88P  Y88b ',
    '888    888 ',
    '888    888 ',
    '888    888 ',
    '888    888 ',
    'Y88b  d88P ',
    ' "Y8888P"  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['1'] = [
    ' d888   ',
    'd8888   ',
    '  888   ',
    '  888   ',
    '  888   ',
    '  888   ',
    '  888   ',
    '8888888 ',
    '        ',
    '        ',
    '        ',
  ];
  $font['2'] = [
    ' .d8888b.  ',
    'd88P  Y88b ',
    '       888 ',
    '     .d88P ',
    ' .od888P"  ',
    'd88P"      ',
    '888"       ',
    '888888888  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['3'] = [
    ' .d8888b.  ',
    'd88P  Y88b ',
    '     .d88P ',
    '    8888"  ',
    '     "Y8b. ',
    '888    888 ',
    'Y88b  d88P ',
    ' "Y8888P"  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['4'] = [
    '    d8888  ',
    '   d8P888  ',
    '  d8P 888  ',
    ' d8P  888  ',
    'd88   888  ',
    '8888888888 ',
    '      888  ',
    '      888  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['5'] = [
    '888888888  ',
    '888        ',
    '888        ',
    '8888888b.  ',
    '     "Y88b ',
    '       888 ',
    'Y88b  d88P ',
    ' "Y8888P"  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['6'] = [
    ' .d8888b.  ',
    'd88P  Y88b ',
    '888        ',
    '888d888b.  ',
    '888P "Y88b ',
    '888    888 ',
    'Y88b  d88P ',
    ' "Y8888P"  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['7'] = [
    '8888888888 ',
    '      d88P ',
    '     d88P  ',
    '    d88P   ',
    ' 88888888  ',
    '  d88P     ',
    ' d88P      ',
    'd88P       ',
    '           ',
    '           ',
    '           ',
  ];
  $font['8'] = [
    ' .d8888b.  ',
    'd88P  Y88b ',
    'Y88b. d88P ',
    ' "Y88888"  ',
    '.d8P""Y8b. ',
    '888    888 ',
    'Y88b  d88P ',
    ' "Y8888P"  ',
    '           ',
    '           ',
    '           ',
  ];
  $font['9'] = [
    ' .d8888b.  ',
    'd88P  Y88b ',
    '888    888 ',
    'Y88b. d888 ',
    ' "Y888P888 ',
    '       888 ',
    'Y88b  d88P ',
    ' "Y8888P"  ',
    '           ',
    '           ',
    '           ',
  ];
  return $font;
}

Functions