ascii_art_captcha_font_roman.inc in CAPTCHA Pack 8
Same filename and directory in other branches
Font definition based on figlet font "roman" (http://www.figlet.org/)
File
ascii_art_captcha/fonts/ascii_art_captcha_font_roman.incView source
<?php
/**
* @file
* Font definition based on figlet font "roman" (http://www.figlet.org/)
*/
/**
* As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/)
*/
function ascii_art_captcha_font_roman() {
$font = [];
$font['height'] = 10;
$font['name'] = 'roman';
$font['comment'] = 'Roman by Nick Miners N.M.Miners@durham.ac.ukJune 1994';
$font['a'] = [
' ',
' ',
' .oooo. ',
'`P )88b ',
' .oP"888 ',
'd8( 888 ',
'`Y888""8o ',
' ',
' ',
' ',
];
$font['b'] = [
' .o8 ',
'"888 ',
' 888oooo. ',
' d88\' `88b ',
' 888 888 ',
' 888 888 ',
' `Y8bod8P\' ',
' ',
' ',
' ',
];
$font['c'] = [
' ',
' ',
' .ooooo. ',
'd88\' `"Y8 ',
'888 ',
'888 .o8 ',
'`Y8bod8P\' ',
' ',
' ',
' ',
];
$font['d'] = [
' .o8 ',
' "888 ',
' .oooo888 ',
'd88\' `888 ',
'888 888 ',
'888 888 ',
'`Y8bod88P" ',
' ',
' ',
' ',
];
$font['e'] = [
' ',
' ',
' .ooooo. ',
'd88\' `88b ',
'888ooo888 ',
'888 .o ',
'`Y8bod8P\' ',
' ',
' ',
' ',
];
$font['f'] = [
' .o88o. ',
' 888 `" ',
'o888oo ',
' 888 ',
' 888 ',
' 888 ',
'o888o ',
' ',
' ',
' ',
];
$font['g'] = [
' ',
' ',
' .oooooooo ',
'888\' `88b ',
'888 888 ',
'`88bod8P\' ',
'`8oooooo. ',
'd" YD ',
'"Y88888P\' ',
' ',
];
$font['h'] = [
'oooo ',
'`888 ',
' 888 .oo. ',
' 888P"Y88b ',
' 888 888 ',
' 888 888 ',
'o888o o888o ',
' ',
' ',
' ',
];
$font['i'] = [
' o8o ',
' `"\' ',
'oooo ',
'`888 ',
' 888 ',
' 888 ',
'o888o ',
' ',
' ',
' ',
];
$font['j'] = [
' o8o ',
' `"\' ',
' oooo ',
' `888 ',
' 888 ',
' 888 ',
' 888 ',
' 888 ',
'.o. 88P ',
'`Y888P ',
];
$font['k'] = [
'oooo ',
'`888 ',
' 888 oooo ',
' 888 .8P\' ',
' 888888. ',
' 888 `88b. ',
'o888o o888o ',
' ',
' ',
' ',
];
$font['l'] = [
'oooo ',
'`888 ',
' 888 ',
' 888 ',
' 888 ',
' 888 ',
'o888o ',
' ',
' ',
' ',
];
$font['m'] = [
' ',
' ',
'ooo. .oo. .oo. ',
'`888P"Y88bP"Y88b ',
' 888 888 888 ',
' 888 888 888 ',
'o888o o888o o888o ',
' ',
' ',
' ',
];
$font['n'] = [
' ',
' ',
'ooo. .oo. ',
'`888P"Y88b ',
' 888 888 ',
' 888 888 ',
'o888o o888o ',
' ',
' ',
' ',
];
$font['o'] = [
' ',
' ',
' .ooooo. ',
'd88\' `88b ',
'888 888 ',
'888 888 ',
'`Y8bod8P\' ',
' ',
' ',
' ',
];
$font['p'] = [
' ',
' ',
'oo.ooooo. ',
' 888\' `88b ',
' 888 888 ',
' 888 888 ',
' 888bod8P\' ',
' 888 ',
'o888o ',
' ',
];
$font['q'] = [
' ',
' ',
' .ooooo oo ',
'd88\' `888 ',
'888 888 ',
'888 888 ',
'`V8bod888 ',
' 888. ',
' 8P\' ',
' " ',
];
$font['r'] = [
' ',
' ',
'oooo d8b ',
'`888""8P ',
' 888 ',
' 888 ',
'd888b ',
' ',
' ',
' ',
];
$font['s'] = [
' ',
' ',
' .oooo.o ',
'd88( "8 ',
'`"Y88b. ',
'o. )88b ',
'8""888P\' ',
' ',
' ',
' ',
];
$font['t'] = [
' . ',
' .o8 ',
'.o888oo ',
' 888 ',
' 888 ',
' 888 . ',
' "888" ',
' ',
' ',
' ',
];
$font['u'] = [
' ',
' ',
'oooo oooo ',
'`888 `888 ',
' 888 888 ',
' 888 888 ',
' `V88V"V8P\' ',
' ',
' ',
' ',
];
$font['v'] = [
' ',
' ',
'oooo ooo ',
' `88. .8\' ',
' `88..8\' ',
' `888\' ',
' `8\' ',
' ',
' ',
' ',
];
$font['w'] = [
' ',
' ',
'oooo oooo ooo ',
' `88. `88. .8\' ',
' `88..]88..8\' ',
' `888\'`888\' ',
' `8\' `8\' ',
' ',
' ',
' ',
];
$font['x'] = [
' ',
' ',
'oooo ooo ',
' `88b..8P\' ',
' Y888\' ',
' .o8"\'88b ',
'o88\' 888o ',
' ',
' ',
' ',
];
$font['y'] = [
' ',
' ',
'oooo ooo ',
' `88. .8\' ',
' `88..8\' ',
' `888\' ',
' .8\' ',
'.o..P\' ',
'`Y8P\' ',
' ',
];
$font['z'] = [
' ',
' ',
' oooooooo ',
' d\'""7d8P ',
' .d8P\' ',
' .d8P\' .P ',
'd8888888P ',
' ',
' ',
' ',
];
$font['A'] = [
' .o. ',
' .888. ',
' .8"888. ',
' .8\' `888. ',
' .88ooo8888. ',
' .8\' `888. ',
'o88o o8888o ',
' ',
' ',
' ',
];
$font['B'] = [
'oooooooooo. ',
'`888\' `Y8b ',
' 888 888 ',
' 888oooo888\' ',
' 888 `88b ',
' 888 .88P ',
'o888bood8P\' ',
' ',
' ',
' ',
];
$font['C'] = [
' .oooooo. ',
' d8P\' `Y8b ',
'888 ',
'888 ',
'888 ',
'`88b ooo ',
' `Y8bood8P\' ',
' ',
' ',
' ',
];
$font['D'] = [
'oooooooooo. ',
'`888\' `Y8b ',
' 888 888 ',
' 888 888 ',
' 888 888 ',
' 888 d88\' ',
'o888bood8P\' ',
' ',
' ',
' ',
];
$font['E'] = [
'oooooooooooo ',
'`888\' `8 ',
' 888 ',
' 888oooo8 ',
' 888 " ',
' 888 o ',
'o888ooooood8 ',
' ',
' ',
' ',
];
$font['F'] = [
'oooooooooooo ',
'`888\' `8 ',
' 888 ',
' 888oooo8 ',
' 888 " ',
' 888 ',
'o888o ',
' ',
' ',
' ',
];
$font['G'] = [
' .oooooo. ',
' d8P\' `Y8b ',
'888 ',
'888 ',
'888 ooooo ',
'`88. .88\' ',
' `Y8bood8P\' ',
' ',
' ',
' ',
];
$font['H'] = [
'ooooo ooooo ',
'`888\' `888\' ',
' 888 888 ',
' 888ooooo888 ',
' 888 888 ',
' 888 888 ',
'o888o o888o ',
' ',
' ',
' ',
];
$font['I'] = [
'ooooo ',
'`888\' ',
' 888 ',
' 888 ',
' 888 ',
' 888 ',
'o888o ',
' ',
' ',
' ',
];
$font['J'] = [
' oooo ',
' `888 ',
' 888 ',
' 888 ',
' 888 ',
' 888 ',
'.o. 88P ',
'`Y888P ',
' ',
' ',
];
$font['K'] = [
'oooo oooo ',
'`888 .8P\' ',
' 888 d8\' ',
' 88888[ ',
' 888`88b. ',
' 888 `88b. ',
'o888o o888o ',
' ',
' ',
' ',
];
$font['L'] = [
'ooooo ',
'`888\' ',
' 888 ',
' 888 ',
' 888 ',
' 888 o ',
'o888ooooood8 ',
' ',
' ',
' ',
];
$font['M'] = [
'ooo ooooo ',
'`88. .888\' ',
' 888b d\'888 ',
' 8 Y88. .P 888 ',
' 8 `888\' 888 ',
' 8 Y 888 ',
'o8o o888o ',
' ',
' ',
' ',
];
$font['N'] = [
'ooooo ooo ',
'`888b. `8\' ',
' 8 `88b. 8 ',
' 8 `88b. 8 ',
' 8 `88b.8 ',
' 8 `888 ',
'o8o `8 ',
' ',
' ',
' ',
];
$font['O'] = [
' .oooooo. ',
' d8P\' `Y8b ',
'888 888 ',
'888 888 ',
'888 888 ',
'`88b d88\' ',
' `Y8bood8P\' ',
' ',
' ',
' ',
];
$font['P'] = [
'ooooooooo. ',
'`888 `Y88. ',
' 888 .d88\' ',
' 888ooo88P\' ',
' 888 ',
' 888 ',
'o888o ',
' ',
' ',
' ',
];
$font['Q'] = [
' .oooooo. ',
' d8P\' `Y8b ',
'888 888 ',
'888 888 ',
'888 888 ',
'`88b d88b ',
' `Y8bood8P\'Ybd\' ',
' ',
' ',
' ',
];
$font['R'] = [
'ooooooooo. ',
'`888 `Y88. ',
' 888 .d88\' ',
' 888ooo88P\' ',
' 888`88b. ',
' 888 `88b. ',
'o888o o888o ',
' ',
' ',
' ',
];
$font['S'] = [
' .oooooo..o ',
'd8P\' `Y8 ',
'Y88bo. ',
' `"Y8888o. ',
' `"Y88b ',
'oo .d8P ',
'8""88888P\' ',
' ',
' ',
' ',
];
$font['T'] = [
'ooooooooooooo ',
'8\' 888 `8 ',
' 888 ',
' 888 ',
' 888 ',
' 888 ',
' o888o ',
' ',
' ',
' ',
];
$font['U'] = [
'ooooo ooo ',
'`888\' `8\' ',
' 888 8 ',
' 888 8 ',
' 888 8 ',
' `88. .8\' ',
' `YbodP\' ',
' ',
' ',
' ',
];
$font['V'] = [
'oooooo oooo ',
' `888. .8\' ',
' `888. .8\' ',
' `888. .8\' ',
' `888.8\' ',
' `888\' ',
' `8\' ',
' ',
' ',
' ',
];
$font['W'] = [
'oooooo oooooo oooo ',
' `888. `888. .8\' ',
' `888. .8888. .8\' ',
' `888 .8\'`888. .8\' ',
' `888.8\' `888.8\' ',
' `888\' `888\' ',
' `8\' `8\' ',
' ',
' ',
' ',
];
$font['X'] = [
'ooooooo ooooo ',
' `8888 d8\' ',
' Y888..8P ',
' `8888\' ',
' .8PY888. ',
' d8\' `888b ',
'o888o o88888o ',
' ',
' ',
' ',
];
$font['Y'] = [
'oooooo oooo ',
' `888. .8\' ',
' `888. .8\' ',
' `888.8\' ',
' `888\' ',
' 888 ',
' o888o ',
' ',
' ',
' ',
];
$font['Z'] = [
' oooooooooooo ',
'd\'""""""d888\' ',
' .888P ',
' d888\' ',
' .888P ',
' d888\' .P ',
'.8888888888P ',
' ',
' ',
' ',
];
$font['0'] = [
' .oooo. ',
' d8P\'`Y8b ',
'888 888 ',
'888 888 ',
'888 888 ',
'`88b d88\' ',
' `Y8bd8P\' ',
' ',
' ',
' ',
];
$font['1'] = [
' .o ',
'o888 ',
' 888 ',
' 888 ',
' 888 ',
' 888 ',
'o888o ',
' ',
' ',
' ',
];
$font['2'] = [
' .oooo. ',
'.dP""Y88b ',
' ]8P\' ',
' .d8P\' ',
' .dP\' ',
'.oP .o ',
'8888888888 ',
' ',
' ',
' ',
];
$font['3'] = [
' .oooo. ',
'.dP""Y88b ',
' ]8P\' ',
' <88b. ',
' `88b. ',
'o. .88P ',
'`8bd88P\' ',
' ',
' ',
' ',
];
$font['4'] = [
' .o ',
' .d88 ',
' .d\'888 ',
'.d\' 888 ',
'88ooo888oo ',
' 888 ',
' o888o ',
' ',
' ',
' ',
];
$font['5'] = [
' oooooooo ',
' dP""""""" ',
'd88888b. ',
' `Y88b ',
' ]88 ',
'o. .88P ',
'`8bd88P\' ',
' ',
' ',
' ',
];
$font['6'] = [
' .ooo ',
' .88\' ',
' d88\' ',
'd888P"Ybo. ',
'Y88[ ]88 ',
'`Y88 88P ',
' `88bod8\' ',
' ',
' ',
' ',
];
$font['7'] = [
' ooooooooo ',
'd"""""""8\' ',
' .8\' ',
' .8\' ',
' .8\' ',
' .8\' ',
' .8\' ',
' ',
' ',
' ',
];
$font['8'] = [
' .ooooo. ',
'd88\' `8. ',
'Y88.. .8\' ',
' `88888b. ',
'.8\' ``88b ',
'`8. .88P ',
' `boood8\' ',
' ',
' ',
' ',
];
$font['9'] = [
' .ooooo. ',
'888\' `Y88. ',
'888 888 ',
' `Vbood888 ',
' 888\' ',
' .88P\' ',
' .oP\' ',
' ',
' ',
' ',
];
return $font;
}
Functions
Name | Description |
---|---|
ascii_art_captcha_font_roman | As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/) |