You are here

ascii_art_captcha_font_univers.inc in CAPTCHA Pack 8

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

File

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

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

/**
 * As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/)
 */
function ascii_art_captcha_font_univers() {
  $font = [];
  $font['height'] = 11;
  $font['name'] = 'univers';
  $font['comment'] = 'Univers by Normand Veilleux <nveilleu@emr.ca>figletized by Glenn Chappell <ggc@uiuc.edu> January 12, 1994Date: 5 Mar 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 character9    - height of a character, not including descenders40   - max line length (excluding comment lines) + a fudge factor32   - default smushmode for this font14   - number of comment lines';
  $font['a'] = [
    '            ',
    '            ',
    '            ',
    '            ',
    ',adPPYYba,  ',
    '""     `Y8  ',
    ',adPPPPP88  ',
    '88,    ,88  ',
    '`"8bbdP"Y8  ',
    '            ',
    '            ',
  ];
  $font['b'] = [
    '             ',
    '88           ',
    '88           ',
    '88           ',
    '88,dPPYba,   ',
    '88P\'    "8a  ',
    '88       d8  ',
    '88b,   ,a8"  ',
    '8Y"Ybbd8"\'   ',
    '             ',
    '             ',
  ];
  $font['c'] = [
    '            ',
    '            ',
    '            ',
    '            ',
    ' ,adPPYba,  ',
    'a8"     ""  ',
    '8b          ',
    '"8a,   ,aa  ',
    ' `"Ybbd8"\'  ',
    '            ',
    '            ',
  ];
  $font['d'] = [
    '             ',
    '         88  ',
    '         88  ',
    '         88  ',
    ' ,adPPYb,88  ',
    'a8"    `Y88  ',
    '8b       88  ',
    '"8a,   ,d88  ',
    ' `"8bbdP"Y8  ',
    '             ',
    '             ',
  ];
  $font['e'] = [
    '            ',
    '            ',
    '            ',
    '            ',
    ' ,adPPYba,  ',
    'a8P_____88  ',
    '8PP"""""""  ',
    '"8b,   ,aa  ',
    ' `"Ybbd8"\'  ',
    '            ',
    '            ',
  ];
  $font['f'] = [
    '         ',
    '   ad88  ',
    '  d8"    ',
    '  88     ',
    'MM88MMM  ',
    '  88     ',
    '  88     ',
    '  88     ',
    '  88     ',
    '         ',
    '         ',
  ];
  $font['g'] = [
    '             ',
    '             ',
    '             ',
    '             ',
    ' ,adPPYb,d8  ',
    'a8"    `Y88  ',
    '8b       88  ',
    '"8a,   ,d88  ',
    ' `"YbbdP"Y8  ',
    ' aa,    ,88  ',
    '  "Y8bbdP"   ',
  ];
  $font['h'] = [
    '             ',
    '88           ',
    '88           ',
    '88           ',
    '88,dPPYba,   ',
    '88P\'    "8a  ',
    '88       88  ',
    '88       88  ',
    '88       88  ',
    '             ',
    '             ',
  ];
  $font['i'] = [
    '    ',
    '88  ',
    '""  ',
    '    ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '    ',
    '    ',
  ];
  $font['j'] = [
    '       ',
    '   88  ',
    '   ""  ',
    '       ',
    '   88  ',
    '   88  ',
    '   88  ',
    '   88  ',
    '   88  ',
    '  ,88  ',
    '888P"  ',
  ];
  $font['k'] = [
    '           ',
    '88         ',
    '88         ',
    '88         ',
    '88   ,d8   ',
    '88 ,a8"    ',
    '8888[      ',
    '88`"Yba,   ',
    '88   `Y8a  ',
    '           ',
    '           ',
  ];
  $font['l'] = [
    '    ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '    ',
    '    ',
  ];
  $font['m'] = [
    '                    ',
    '                    ',
    '                    ',
    '                    ',
    '88,dPYba,,adPYba,   ',
    '88P\'   "88"    "8a  ',
    '88      88      88  ',
    '88      88      88  ',
    '88      88      88  ',
    '                    ',
    '                    ',
  ];
  $font['n'] = [
    '             ',
    '             ',
    '             ',
    '             ',
    '8b,dPPYba,   ',
    '88P\'   `"8a  ',
    '88       88  ',
    '88       88  ',
    '88       88  ',
    '             ',
    '             ',
  ];
  $font['o'] = [
    '             ',
    '             ',
    '             ',
    '             ',
    ' ,adPPYba,   ',
    'a8"     "8a  ',
    '8b       d8  ',
    '"8a,   ,a8"  ',
    ' `"YbbdP"\'   ',
    '             ',
    '             ',
  ];
  $font['p'] = [
    '             ',
    '             ',
    '             ',
    '             ',
    '8b,dPPYba,   ',
    '88P\'    "8a  ',
    '88       d8  ',
    '88b,   ,a8"  ',
    '88`YbbdP"\'   ',
    '88           ',
    '88           ',
  ];
  $font['q'] = [
    '             ',
    '             ',
    '             ',
    '             ',
    ' ,adPPYb,d8  ',
    'a8"    `Y88  ',
    '8b       88  ',
    '"8a    ,d88  ',
    ' `"YbbdP\'88  ',
    '         88  ',
    '         88  ',
  ];
  $font['r'] = [
    '            ',
    '            ',
    '            ',
    '            ',
    '8b,dPPYba,  ',
    '88P\'   "Y8  ',
    '88          ',
    '88          ',
    '88          ',
    '            ',
    '            ',
  ];
  $font['s'] = [
    '           ',
    '           ',
    '           ',
    '           ',
    ',adPPYba,  ',
    'I8[    ""  ',
    ' `"Y8ba,   ',
    'aa    ]8I  ',
    '`"YbbdP"\'  ',
    '           ',
    '           ',
  ];
  $font['t'] = [
    '         ',
    '         ',
    '  ,d     ',
    '  88     ',
    'MM88MMM  ',
    '  88     ',
    '  88     ',
    '  88,    ',
    '  "Y888  ',
    '         ',
    '         ',
  ];
  $font['u'] = [
    '             ',
    '             ',
    '             ',
    '             ',
    '88       88  ',
    '88       88  ',
    '88       88  ',
    '"8a,   ,a88  ',
    ' `"YbbdP\'Y8  ',
    '             ',
    '             ',
  ];
  $font['v'] = [
    '             ',
    '             ',
    '             ',
    '             ',
    '8b       d8  ',
    '`8b     d8\'  ',
    ' `8b   d8\'   ',
    '  `8b,d8\'    ',
    '    "8"      ',
    '             ',
    '             ',
  ];
  $font['w'] = [
    '                    ',
    '                    ',
    '                    ',
    '                    ',
    '8b      db      d8  ',
    '`8b    d88b    d8\'  ',
    ' `8b  d8\'`8b  d8\'   ',
    '  `8bd8\'  `8bd8\'    ',
    '    YP      YP      ',
    '                    ',
    '                    ',
  ];
  $font['x'] = [
    '             ',
    '             ',
    '             ',
    '             ',
    '8b,     ,d8  ',
    ' `Y8, ,8P\'   ',
    '   )888(     ',
    ' ,d8" "8b,   ',
    '8P\'     `Y8  ',
    '             ',
    '             ',
  ];
  $font['y'] = [
    '             ',
    '             ',
    '             ',
    '             ',
    '8b       d8  ',
    '`8b     d8\'  ',
    ' `8b   d8\'   ',
    '  `8b,d8\'    ',
    '    Y88\'     ',
    '    d8\'      ',
    '   d8\'       ',
  ];
  $font['z'] = [
    '           ',
    '           ',
    '           ',
    '           ',
    '888888888  ',
    '     a8P"  ',
    '  ,d8P\'    ',
    ',d8"       ',
    '888888888  ',
    '           ',
    '           ',
  ];
  $font['A'] = [
    '                  ',
    '       db         ',
    '      d88b        ',
    '     d8\'`8b       ',
    '    d8\'  `8b      ',
    '   d8YaaaaY8b     ',
    '  d8""""""""8b    ',
    ' d8\'        `8b   ',
    'd8\'          `8b  ',
    '                  ',
    '                  ',
  ];
  $font['B'] = [
    '             ',
    '88888888ba   ',
    '88      "8b  ',
    '88      ,8P  ',
    '88aaaaaa8P\'  ',
    '88""""""8b,  ',
    '88      `8b  ',
    '88      a8P  ',
    '88888888P"   ',
    '             ',
    '             ',
  ];
  $font['C'] = [
    '               ',
    '  ,ad8888ba,   ',
    ' d8"\'    `"8b  ',
    'd8\'            ',
    '88             ',
    '88             ',
    'Y8,            ',
    ' Y8a.    .a8P  ',
    '  `"Y8888Y"\'   ',
    '               ',
    '               ',
  ];
  $font['D'] = [
    '               ',
    '88888888ba,    ',
    '88      `"8b   ',
    '88        `8b  ',
    '88         88  ',
    '88         88  ',
    '88         8P  ',
    '88      .a8P   ',
    '88888888Y"\'    ',
    '               ',
    '               ',
  ];
  $font['E'] = [
    '             ',
    '88888888888  ',
    '88           ',
    '88           ',
    '88aaaaa      ',
    '88"""""      ',
    '88           ',
    '88           ',
    '88888888888  ',
    '             ',
    '             ',
  ];
  $font['F'] = [
    '             ',
    '88888888888  ',
    '88           ',
    '88           ',
    '88aaaaa      ',
    '88"""""      ',
    '88           ',
    '88           ',
    '88           ',
    '             ',
    '             ',
  ];
  $font['G'] = [
    '               ',
    '  ,ad8888ba,   ',
    ' d8"\'    `"8b  ',
    'd8\'            ',
    '88             ',
    '88      88888  ',
    'Y8,        88  ',
    ' Y8a.    .a88  ',
    '  `"Y88888P"   ',
    '               ',
    '               ',
  ];
  $font['H'] = [
    '              ',
    '88        88  ',
    '88        88  ',
    '88        88  ',
    '88aaaaaaaa88  ',
    '88""""""""88  ',
    '88        88  ',
    '88        88  ',
    '88        88  ',
    '              ',
    '              ',
  ];
  $font['I'] = [
    '    ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '88  ',
    '    ',
    '    ',
  ];
  $font['J'] = [
    '            ',
    '        88  ',
    '        88  ',
    '        88  ',
    '        88  ',
    '        88  ',
    '        88  ',
    '88,   ,d88  ',
    ' "Y8888P"   ',
    '            ',
    '            ',
  ];
  $font['K'] = [
    '              ',
    '88      a8P   ',
    '88    ,88\'    ',
    '88  ,88"      ',
    '88,d88\'       ',
    '8888"88,      ',
    '88P   Y8b     ',
    '88     "88,   ',
    '88       Y8b  ',
    '              ',
    '              ',
  ];
  $font['L'] = [
    '             ',
    '88           ',
    '88           ',
    '88           ',
    '88           ',
    '88           ',
    '88           ',
    '88           ',
    '88888888888  ',
    '             ',
    '             ',
  ];
  $font['M'] = [
    '                   ',
    '88b           d88  ',
    '888b         d888  ',
    '88`8b       d8\'88  ',
    '88 `8b     d8\' 88  ',
    '88  `8b   d8\'  88  ',
    '88   `8b d8\'   88  ',
    '88    `888\'    88  ',
    '88     `8\'     88  ',
    '                   ',
    '                   ',
  ];
  $font['N'] = [
    '              ',
    '888b      88  ',
    '8888b     88  ',
    '88 `8b    88  ',
    '88  `8b   88  ',
    '88   `8b  88  ',
    '88    `8b 88  ',
    '88     `8888  ',
    '88      `888  ',
    '              ',
    '              ',
  ];
  $font['O'] = [
    '                ',
    '  ,ad8888ba,    ',
    ' d8"\'    `"8b   ',
    'd8\'        `8b  ',
    '88          88  ',
    '88          88  ',
    'Y8,        ,8P  ',
    ' Y8a.    .a8P   ',
    '  `"Y8888Y"\'    ',
    '                ',
    '                ',
  ];
  $font['P'] = [
    '             ',
    '88888888ba   ',
    '88      "8b  ',
    '88      ,8P  ',
    '88aaaaaa8P\'  ',
    '88""""""\'    ',
    '88           ',
    '88           ',
    '88           ',
    '             ',
    '             ',
  ];
  $font['Q'] = [
    '                ',
    '  ,ad8888ba,    ',
    ' d8"\'    `"8b   ',
    'd8\'        `8b  ',
    '88          88  ',
    '88          88  ',
    'Y8,    "88,,8P  ',
    ' Y8a.    Y88P   ',
    '  `"Y8888Y"Y8a  ',
    '                ',
    '                ',
  ];
  $font['R'] = [
    '             ',
    '88888888ba   ',
    '88      "8b  ',
    '88      ,8P  ',
    '88aaaaaa8P\'  ',
    '88""""88\'    ',
    '88    `8b    ',
    '88     `8b   ',
    '88      `8b  ',
    '             ',
    '             ',
  ];
  $font['S'] = [
    '             ',
    ' ad88888ba   ',
    'd8"     "8b  ',
    'Y8,          ',
    '`Y8aaaaa,    ',
    '  `"""""8b,  ',
    '        `8b  ',
    'Y8a     a8P  ',
    ' "Y88888P"   ',
    '             ',
    '             ',
  ];
  $font['T'] = [
    '              ',
    '888888888888  ',
    '     88       ',
    '     88       ',
    '     88       ',
    '     88       ',
    '     88       ',
    '     88       ',
    '     88       ',
    '              ',
    '              ',
  ];
  $font['U'] = [
    '              ',
    '88        88  ',
    '88        88  ',
    '88        88  ',
    '88        88  ',
    '88        88  ',
    '88        88  ',
    'Y8a.    .a8P  ',
    ' `"Y8888Y"\'   ',
    '              ',
    '              ',
  ];
  $font['V'] = [
    '                 ',
    '8b           d8  ',
    '`8b         d8\'  ',
    ' `8b       d8\'   ',
    '  `8b     d8\'    ',
    '   `8b   d8\'     ',
    '    `8b d8\'      ',
    '     `888\'       ',
    '      `8\'        ',
    '                 ',
    '                 ',
  ];
  $font['W'] = [
    '                         ',
    'I8,        8        ,8I  ',
    '`8b       d8b       d8\'  ',
    ' "8,     ,8"8,     ,8"   ',
    '  Y8     8P Y8     8P    ',
    '  `8b   d8\' `8b   d8\'    ',
    '   `8a a8\'   `8a a8\'     ',
    '    `8a8\'     `8a8\'      ',
    '     `8\'       `8\'       ',
    '                         ',
    '                         ',
  ];
  $font['X'] = [
    '              ',
    '8b        d8  ',
    ' Y8,    ,8P   ',
    '  `8b  d8\'    ',
    '    Y88P      ',
    '    d88b      ',
    '  ,8P  Y8,    ',
    ' d8\'    `8b   ',
    '8P        Y8  ',
    '              ',
    '              ',
  ];
  $font['Y'] = [
    '              ',
    '8b        d8  ',
    ' Y8,    ,8P   ',
    '  Y8,  ,8P    ',
    '   "8aa8"     ',
    '    `88\'      ',
    '     88       ',
    '     88       ',
    '     88       ',
    '              ',
    '              ',
  ];
  $font['Z'] = [
    '              ',
    '888888888888  ',
    '         ,88  ',
    '       ,88"   ',
    '     ,88"     ',
    '   ,88"       ',
    ' ,88"         ',
    '88"           ',
    '888888888888  ',
    '              ',
    '              ',
  ];
  $font['0'] = [
    '                ',
    '   ,a8888a,     ',
    ' ,8P"\'  `"Y8,   ',
    ',8P        Y8,  ',
    '88          88  ',
    '88          88  ',
    '`8b        d8\'  ',
    ' `8ba,  ,ad8\'   ',
    '   "Y8888P"     ',
    '                ',
    '                ',
  ];
  $font['1'] = [
    '        ',
    '    88  ',
    '  ,d88  ',
    '888888  ',
    '    88  ',
    '    88  ',
    '    88  ',
    '    88  ',
    '    88  ',
    '        ',
    '        ',
  ];
  $font['2'] = [
    '             ',
    ' ad888888b,  ',
    'd8"     "88  ',
    '        a8P  ',
    '     ,d8P"   ',
    '   a8P"      ',
    ' a8P\'        ',
    'd8"          ',
    '88888888888  ',
    '             ',
    '             ',
  ];
  $font['3'] = [
    '             ',
    ' ad888888b,  ',
    'd8"     "88  ',
    '        a8P  ',
    '     aad8"   ',
    '     ""Y8,   ',
    '        "8b  ',
    'Y8,     a88  ',
    ' "Y888888P\'  ',
    '             ',
    '             ',
  ];
  $font['4'] = [
    '               ',
    '        ,d8    ',
    '      ,d888    ',
    '    ,d8" 88    ',
    '  ,d8"   88    ',
    ',d8"     88    ',
    '8888888888888  ',
    '         88    ',
    '         88    ',
    '               ',
    '               ',
  ];
  $font['5'] = [
    '             ',
    '8888888888   ',
    '88           ',
    '88  ____     ',
    '88a8PPPP8b,  ',
    'PP"     `8b  ',
    '         d8  ',
    'Y8a     a8P  ',
    ' "Y88888P"   ',
    '             ',
    '             ',
  ];
  $font['6'] = [
    '             ',
    '  ad8888ba,  ',
    ' 8P\'    "Y8  ',
    'd8           ',
    '88,dd888bb,  ',
    '88P\'    `8b  ',
    '88       d8  ',
    '88a     a8P  ',
    ' "Y88888P"   ',
    '             ',
    '             ',
  ];
  $font['7'] = [
    '              ',
    '888888888888  ',
    '        ,8P\'  ',
    '       d8"    ',
    '     ,8P\'     ',
    '    d8"       ',
    '  ,8P\'        ',
    ' d8"          ',
    '8P\'           ',
    '              ',
    '              ',
  ];
  $font['8'] = [
    '             ',
    ' ad88888ba   ',
    'd8"     "8b  ',
    'Y8a     a8P  ',
    ' "Y8aaa8P"   ',
    ' ,d8"""8b,   ',
    'd8"     "8b  ',
    'Y8a     a8P  ',
    ' "Y88888P"   ',
    '             ',
    '             ',
  ];
  $font['9'] = [
    '             ',
    ' ad88888ba   ',
    'd8"     "88  ',
    '8P       88  ',
    'Y8,    ,d88  ',
    ' "PPPPPP"88  ',
    '         8P  ',
    '8b,    a8P   ',
    '`"Y8888P\'    ',
    '             ',
    '             ',
  ];
  return $font;
}

Functions