mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
26 lines
1.1 KiB
Text
26 lines
1.1 KiB
Text
|
FIGlet project home page: http://www.figlet.org/
|
||
|
You can download FIGlet fonts from: ftp://ftp.figlet.org/pub/figlet/fonts/
|
||
|
Project home page (Russian): http://bolknote.ru/files/figlet/
|
||
|
|
||
|
Notes:
|
||
|
1. There are no support flc and vertical smushing.
|
||
|
2. But horizontal smushing is supported.
|
||
|
3. Default character (0x00) is supported.
|
||
|
4. German symbols are supported.
|
||
|
5. It is supported Unicode as %uHHHH, HHHH - a hex code of a character (UCS-2).
|
||
|
7. RTL and LTR text directions are suppoted.
|
||
|
8. Windows and Unix font formats are supported.
|
||
|
9. Incomplete fonts are supported (for example dwhistled.flf).
|
||
|
10. Gzipped fonts supported as .flf.gz (zlib PHP extension required)
|
||
|
11. ZIPed fonts supported (ZIP PHP extension required)
|
||
|
`
|
||
|
Usage:
|
||
|
|
||
|
include_once 'Text/Figlet.php';
|
||
|
|
||
|
$figlet = new Text_Figlet();
|
||
|
if (PEAR::isError($error = $figlet->LoadFont('slant.flf'))) {
|
||
|
echo 'Error: ', $error->getMessage();
|
||
|
} else {
|
||
|
echo $figlet->LineEcho("Hello, world!");
|
||
|
}
|