You are here

ascii_art_captcha_font_straight.inc in CAPTCHA Pack 8

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

File

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

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

/**
 * As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/)
 */
function ascii_art_captcha_font_straight() {
  $font = [];
  $font['height'] = 4;
  $font['name'] = 'straight';
  $font['comment'] = 'straight.flf\\t\\tVersion 2by:  Bas Meijer   meijer@info.win.tue.nl   bas@damek.kth.sefixed by: Ryan Youck  youck@cs.uregina.caDisclaimer: most capitals have been designed by someone else';
  $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