Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
FIGlet
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Infobox software | name = FIGlet | logo = | screenshot = | caption = | author = Glenn Chappell, Ian Chai | developer = | released = 1991 (as "newban") / 1993 (figlet 2.0)<ref name="history">{{cite web|url=http://www.figlet.org/figlet_history.html|title="Why does FIGlet exist?" a history of FIGlet|year=1995|first=Glen|last=Chappell|access-date=2008-04-25}}</ref> | latest release version = 2.2.5<ref name="homepage">{{cite web|url=http://www.figlet.org|title=FIGLet home page|access-date=2012-06-18}}</ref> | latest release date = May 2012 | latest preview version = | latest preview date = | programming language = [[C (programming language)|C]] | operating system = [[Unix-like]] | platform = [[Cross-platform]] | language = | genre = [[Typesetting]] | license = [[New BSD License|New BSD]]<ref name="license">{{cite web|url=http://www.figlet.org/figlet_history.html|title="Why does FIGlet exist?" a history of FIGlet|access-date=2011-01-15}}</ref> | website = {{URL|www.figlet.org}} }} '''FIGlet''' is a [[computer program]] that generates text [[banner]]s, in a variety of [[typeface]]s, composed of [[letter (alphabet)|letter]]s made up of conglomerations of smaller [[ASCII]] characters (see [[ASCII art]]). The name derives from "Frank, Ian and Glenn's letters".<ref>{{cite web|url=http://www.figlet.org/faq.html|title=FIGlet FAQ|access-date=2013-09-19}}</ref> Being [[free software]], FIGlet is commonly included as part of many [[Unix-like]] operating systems ([[Linux]],<ref>{{cite book|chapter-url=http://dsl.org/cookbook/cookbook_20.html#SEC321|chapter=Text Fonts|title=The Linux Cookbook|first=Michael|last=Stutz|year=2001|access-date=2008-04-25|publisher=No Starch Press|isbn=1-886411-48-4|url-access=registration|url=https://archive.org/details/linuxcookbooktip00stut}}</ref> [[Berkeley Software Distribution|BSD]], etc.) distributions, but it has been ported to other platforms as well. The official FIGlet [[File Transfer Protocol|FTP]] site includes precompiled ports for the [[Acorn Archimedes|Acorn]], [[Amiga]], [[Apple II]], [[Atari ST]], [[BeOS]], [[Mac (computer)|Mac]], [[MS-DOS]], [[NeXTSTEP]], [[OS/2]], and [[Microsoft Windows]], as well as a reimplementation in [[Perl]] (Text::FIGlet<ref>[https://metacpan.org/module/Text::FIGlet Text::FIGlet]</ref>).<ref name="ftp">{{cite web|url=http://ftp.figlet.org/pub/figlet/program/|title=Official FIGlet FTP site|access-date=2008-04-25}}</ref> There are third-party reimplementations of FIGlet in [[Java (programming language)|Java]]<ref>{{cite web|url=http://www.rigaut.com/benoit/CERN/FigletJava/|title=Figlet Java|first=Benoît|last=Rigaut|year=1996|access-date=2008-04-25|archive-date=2008-05-09|archive-url=https://web.archive.org/web/20080509134946/http://www.rigaut.com/benoit/CERN/FigletJava/|url-status=dead}}</ref> (including one embedded in the JavE ASCII art editor), [[JavaScript]],<ref>{{cite web|url=http://patorjk.com/software/taag/|title=TAAG|first=Pat|last=Gillespie|year=2006|access-date=2008-05-01|archive-url=https://web.archive.org/web/20120220130116/http://patorjk.com/software/taag/|archive-date=2012-02-20|url-status=dead}}</ref> [[PHP]],<ref>{{cite web|url=http://www.phpclasses.org/phpfiglet|title=PHP Figlet|first=Lucas|last=Baltes|access-date=2008-04-25}}</ref><ref>{{cite web|url=http://framework.zend.com/manual/en/zend.text.html#zend.text.figlet|title=Zend Framework – Zend_Text_Figlet Component|access-date=2013-10-29|archive-url=https://web.archive.org/web/20120822005633/http://framework.zend.com/manual/en/zend.text.html#zend.text.figlet|archive-date=2012-08-22|url-status=dead}}</ref> [[Python (programming language)|Python]],<ref>{{cite web|url=https://pypi.python.org/pypi/pyfiglet/|title=pyfiglet|first=Christopher|last=Jones|year=2007|access-date=2014-11-27}}</ref> and [[Go (programming language)|Go]].<ref>{{cite web |last1=Sampson |first1=Luke |title=GitHub - lukesampson/figlet: Figlet in Go. |url=https://github.com/lukesampson/figlet |website=Github |access-date=13 December 2018 |date=13 December 2018}}</ref> [[DuckDuckGo|DuckDuckgo]] also has their own Figlet version, to be able to use it you need to type "Figlet [text]" and you can easily [[Cut, copy, and paste|Copy & Paste]] everywhere<ref>{{Cite web |last=frostedKIVI |date=2020-03-23 |title=Duckduckgo has a built in FIGlet, how amazing is that? Possibly my favorite easter egg especially since i found it all by myself randomly |url=https://www.reddit.com/r/duckduckgo/comments/fnpq82/duckduckgo_has_a_built_in_figlet_how_amazing_is/?rdt=39682 |access-date=2025-03-15 |website=r/duckduckgo}}</ref> ==Behavior== FIGlet can read from [[standard input]] or accept a message as part of the [[command-line interface|command line]]. It prints to [[standard streams#Standard output (stdout)|standard output]]. Some common arguments (options) are: * <code>-f</code> to select a [[font]] file. (font files are available [http://www.figlet.org/fontdb.cgi here]) * <code>-d</code> to change the directory for fonts. * <code>-c</code> centers the output. * <code>-l</code> left-aligns the output. * <code>-r</code> right-aligns the output. * <code>-t</code> sets the output width to the [[computer terminal|terminal]] width. * <code>-w</code> specifies a custom output width. * <code>-k</code> enables [[kerning]], printing each letter of the message individually, instead of merged into the adjacent letters. ==Sample usage== An example of output generated by FIGlet is shown below. <syntaxhighlight lang="cobol"> [user@hostname ~]$ figlet 7MO __ ___ _ _ _ _ \ \ / (_) | _(_)_ __ ___ __| (_) __ _ \ \ /\ / /| | |/ / | '_ \ / _ \/ _` | |/ _` | \ V V / | | <| | |_) | __/ (_| | | (_| | \_/\_/ |_|_|\_\_| .__/ \___|\__,_|_|\__,_| |_| </syntaxhighlight> The following command: <syntaxhighlight lang="Shell-session">[user@hostname ~]$ figlet -ct -f roman Wikipedia</syntaxhighlight> generates this output: <pre class="center"> oooooo oooooo oooo o8o oooo o8o .o8 o8o `888. `888. .8' `"' `888 `"' "888 `"' `888. .8888. .8' oooo 888 oooo oooo oo.ooooo. .ooooo. .oooo888 oooo .oooo. `888 .8'`888. .8' `888 888 .8P' `888 888' `88b d88' `88b d88' `888 `888 `P )88b `888.8' `888.8' 888 888888. 888 888 888 888ooo888 888 888 888 .oP"888 `888' `888' 888 888 `88b. 888 888 888 888 .o 888 888 888 d8( 888 `8' `8' o888o o888o o888o o888o 888bod8P' `Y8bod8P' `Y8bod88P" o888o `Y888""8o 888 o888o </pre> The <code>-ct</code> options centers the text and makes it take up the full width of the terminal. The <code>-f roman</code> option specifies the 'roman' font file. ==Font examples== ===Invita=== <pre class="left"> __ __) (, ) | / , /) , /) , | /| / (/_ __ _ _(/ _ |/ |/ _(_/(___(_/_)__(/_(_(__(_(_(_ / | .-/ (_/ </pre> ===Banner (same as [[Banner (Unix)|banner]] utility)=== <pre class="left"> # # # # # # # # # ##### ###### ##### # ## # # # # # # # # # # # # # # # # # # # #### # # # ##### # # # # # # # # # # # # ##### # # # # ###### # # # # # # # # # # # # # # ## ## # # # # # ###### ##### # # # </pre> ===Larry3d=== <pre class="left"> __ __ __ __ /\ \ __/\ \ __/\ \ __ /\ \ __ \ \ \/\ \ \ \/\_\ \ \/'\ /\_\ _____ __ \_\ \/\_\ __ \ \ \ \ \ \ \/\ \ \ , < \/\ \/\ '__`\ /'__`\ /'_` \/\ \ /'__`\ \ \ \_/ \_\ \ \ \ \ \\`\\ \ \ \ \L\ \/\ __//\ \L\ \ \ \/\ \L\.\_ \ `\___x___/\ \_\ \_\ \_\ \_\ \ ,__/\ \____\ \___,_\ \_\ \__/.\_\ '\/__//__/ \/_/\/_/\/_/\/_/\ \ \/ \/____/\/__,_ /\/_/\/__/\/_/ \ \_\ \/_/ </pre> ==FIGlet-based ASCII typefaces== Eric Olson's 2002 [[FIG Script|FIG]] typeface family is a series of [[OpenType]] fonts similar to the output of FIGlet. TOIlet seeks to extend FIGlet to use colour text.<ref name="TOIlet">{{cite web|url=http://caca.zoy.org/wiki/toilet|title=TOIlet|access-date=2010-01-29}}</ref> FIGlet supports TOIlet fonts as of version 2.2.4. ==See also== {{Portal|Free and open-source software}} * [[Banner (Unix)]] * [[Cowsay]] ==References== {{Reflist|2}} ==External links== * {{official website}} * [http://www.jave.de/figlet/figfont.html FIGfont] Documentation version 2 FIGfont and FIGdriver Standard ** [http://www.jave.de/figlet/fonts.html Fonts library] * [http://pear.php.net/package/Text_Figlet PHP library] at PHP * [https://www.nuget.org/packages/FIGLet Nuget package] for .NET *Online FIGlet ASCII art generators <!-- {{cite web |archiveurl= http://archive .is/hGyK0 |url= http://www.figlet.org/contrib.html#WebFIG |title= Web based FIGlet frontends }} --> **[http://textart.io/figlet Text Art Figlet Generator] at TextArt.io **[http://www.patorjk.com/software/taag/#p=display&f=Graffiti&t=Type%20Something%20 TAAG (Text Ascii Art Generator)] at Pat or JK **[http://www.kammerl.de/ascii/AsciiSignature.php ASCII signature] at Julius Kammerl **[http://www.network-science.de/ascii/ ASCII generator] at Network Science [[Category:ASCII art]] [[Category:Free software programmed in C]] [[Category:Free typesetting software]] [[Category:Cross-platform software]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cite book
(
edit
)
Template:Cite web
(
edit
)
Template:Infobox
(
edit
)
Template:Infobox software
(
edit
)
Template:Main other
(
edit
)
Template:Official website
(
edit
)
Template:Portal
(
edit
)
Template:Reflist
(
edit
)
Template:Template other
(
edit
)