认识
FIGlet,使用普通文本来制作大的文本字体;
# figlet -w 120 -f small w w w . d 3 r m . o r g
_ ____
__ __ __ __ __ __ __ __ __ __| | |__ / _ _ _ __ ___ _ _ __ _
\ V V / \ V V / \ V V / _ / _` | |_ \ | '_| | ' \ _ / _ \ | '_| / _` |
\_/\_/ \_/\_/ \_/\_/ (_) \__,_| |___/ |_| |_|_|_| (_) \___/ |_| \__, |
|___/
类似还有 TOIlet 程序,并且兼容 FIGlet,并且支持彩色、Unicode、多种格式输出;
组成
FIGlet fonts: https://github.com/cmatsuoka/figlet-fonts
安装的可执行程序
chkfont,用于检查字体文件的格式是否正确;
figlet,主程序文件,使用普通的字符来创建大字符字。figlet 文件是源码中编译的得到的,而某些发行版中 figlet 指向了 alternatives,而 figlet-figlet 为原程序文件;
figlist,用于显示 figlet 的 font 文件和 control 文件;
showfigfonts,SHELL 脚本。显示可用的 figlet 字体列表;
构建
从发行版的源中安装
#!/bin/bash # Kali GNU/Linux Rolling apt-get install figlet
使用源码编译安装
#!/bin/bash # 1. 从 Github 上下载源码,Github Repo: https://github.com/cmatsuoka/figlet # 2. 进入源码目录 # 3. 构建、编译、安装 make && make install # 注意:有关编译前的配置,参考源码目录下的 README 文件;
PHP Text Figlet
http://pear.php.net/package/Text_Figlet
参考
Homepage: http://www.figlet.org/
Download: ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.5.tar.gz
Demo:http://patorjk.com/software/taag/#p=display&f=Graffiti&t=Type%20Something
Github Repo: https://github.com/cmatsuoka/figlet
Wikipedia / FIGlet: https://en.wikipedia.org/wiki/FIGlet