You are here

ascii_art_captcha_font_smslant.inc in CAPTCHA Pack 8

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

File

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

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

/**
 * As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/)
 */
function ascii_art_captcha_font_smslant() {
  $font = [];
  $font['height'] = 5;
  $font['name'] = 'smslant';
  $font['comment'] = 'SmSlant by Glenn Chappell 6/93 - based on Small & SlantIncludes ISO Latin-1figlet release 2.1 -- 12 Aug 1994Permission is hereby given to modify this font, as long as themodifier\'s name is placed on a comment line.Modified by Paul Burton <solution@earthlink.net> 12/96 to include new parametersupported by FIGlet and FIGWin.  May also be slightly modified for better useof new full-width/kern/smush alternatives, but default output is NOT changed.';
  $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'] = [
    '        ',
    ' _    __',
    '| |/|/ /',
    '|__,__/ ',
    '        ',
  ];
  $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'] = [
    ' _      __',
    '| | /| / /',
    '| |/ |/ / ',
    '|__/|__/  ',
    '          ',
  ];
  $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