ascii_art_captcha_font_mini.inc in CAPTCHA Pack 8
Same filename and directory in other branches
Font definition based on figlet font "mini" (http://www.figlet.org/)
File
ascii_art_captcha/fonts/ascii_art_captcha_font_mini.incView source
<?php
/**
* @file
* Font definition based on figlet font "mini" (http://www.figlet.org/)
*/
/**
* As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/)
*/
function ascii_art_captcha_font_mini() {
$font = [];
$font['height'] = 4;
$font['name'] = 'mini';
$font['comment'] = 'Mini by Glenn Chappell 4/93Includes 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'] = [
' ',
'o ',
'| ',
' ',
];
$font['j'] = [
' ',
' o ',
' | ',
'_| ',
];
$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'] = [
' _ ',
'/ \\ ',
'\\_X ',
' ',
];
$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
Name | Description |
---|---|
ascii_art_captcha_font_mini | As distributed by pyfiglet (http://sourceforge.net/projects/pyfiglet/) |