FIGlet

Last updated
FIGlet
Original author(s) Glenn Chappell, Ian Chai
Initial release1991 (as "newban") / 1993 (figlet 2.0) [1]
Stable release
2.2.5 [2] / May 2012
Repository
Written in C
Operating system Unix-like
Platform Cross-platform
Type Typesetting
License New BSD [3]
Website www.figlet.org

FIGlet is a computer program that generates text banners, in a variety of typefaces, composed of letters made up of conglomerations of smaller ASCII characters (see ASCII art). The name derives from "Frank, Ian and Glenn's letters". [4]

Contents

Being free software, FIGlet is commonly included as part of many Unix-like operating systems (Linux, [5] BSD, etc.) distributions, but it has been ported to other platforms as well. The official FIGlet FTP site includes precompiled ports for the Acorn, Amiga, Apple II, Atari ST, BeOS, Mac, MS-DOS, NeXTSTEP, OS/2, and Microsoft Windows, as well as a reimplementation in Perl (Text::FIGlet [6] ). [7] There are third-party reimplementations of FIGlet in Java [8] (including one embedded in the JavE ASCII art editor), JavaScript, [9] PHP, [10] [11] Python, [12] and Go. [13]

Behavior

FIGlet can read from standard input or accept a message as part of the command line. It prints to standard output. Some common arguments (options) are:

Sample usage

An example of output generated by FIGlet is shown below.

[user@hostname ~]$ figletWikipedia __        ___ _    _                _ _       \ \      / (_) | _(_)_ __   ___  __| (_) __ _  \ \ /\ / /| | |/ / | '_ \ / _ \/ _` | |/ _` |  \ V  V / | |   <| | |_) |  __/ (_| | | (_| |   \_/\_/  |_|_|\_\_| .__/ \___|\__,_|_|\__,_|                    |_|

The following command:

[user@hostname ~]$ figlet-ct-fromanWikipedia 

generates this output:

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                                            

The -ct options centers the text and makes it take up the full width of the terminal. The -f roman option specifies the 'roman' font file.

Font examples

Invita

 __       __)                           (, )  |  /  , /)   ,           /) ,        | /| /    (/_    __    _  _(/    _      |/ |/  _(_/(___(_/_)__(/_(_(__(_(_(_    /  |          .-/                                    (_/                                                             
#     #                                           #  #  # # #    # # #####  ###### #####  #   ##    #  #  # # #   #  # #    # #      #    # #  #  #   #  #  # # ####   # #    # #####  #    # # #    #  #  #  # # #  #   # #####  #      #    # # ######  #  #  # # #   #  # #      #      #    # # #    #   ## ##  # #    # # #      ###### #####  # #    #  

Larry3d

 __      __      __                             __                   /\ \  __/\ \  __/\ \      __                   /\ \  __              \ \ \/\ \ \ \/\_\ \ \/'\ /\_\  _____      __   \_\ \/\_\     __       \ \ \ \ \ \ \/\ \ \ , < \/\ \/\ '__`\  /'__`\ /'_` \/\ \  /'__`\      \ \ \_/ \_\ \ \ \ \ \\`\\ \ \ \ \L\ \/\  __//\ \L\ \ \ \/\ \L\.\_     \ `\___x___/\ \_\ \_\ \_\ \_\ \ ,__/\ \____\ \___,_\ \_\ \__/.\_\     '\/__//__/  \/_/\/_/\/_/\/_/\ \ \/  \/____/\/__,_ /\/_/\/__/\/_/                                  \ \_\                                                                 \/_/                               

FIGlet-based ASCII typefaces

Eric Olson's 2002 FIG typeface family is a series of OpenType fonts similar to the output of FIGlet.

TOIlet seeks to extend FIGlet to use colour text. [14] FIGlet supports TOIlet fonts as of version 2.2.4.

See also

Related Research Articles

<span class="mw-page-title-main">ASCII art</span> Computer art form using text characters

ASCII art is a graphic design technique that uses computers for presentation and consists of pictures pieced together from the 95 printable characters defined by the ASCII Standard from 1963 and ASCII compliant character sets with proprietary extended characters. The term is also loosely used to refer to text-based visual art in general. ASCII art can be created with any text editor, and is often used with free-form languages. Most examples of ASCII art require a fixed-width font such as Courier for presentation.

<span class="mw-page-title-main">PHP</span> Scripting language created in 1994

PHP is a general-purpose scripting language geared towards web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995. The PHP reference implementation is now produced by the PHP Group. PHP was originally an abbreviation of Personal Home Page, but it now stands for the recursive acronym PHP: Hypertext Preprocessor.

<span class="mw-page-title-main">Monospaced font</span> Font whose characters occupy the same amount of horizontal space

A monospaced font, also called a fixed-pitch, fixed-width, or non-proportional font, is a font whose letters and characters each occupy the same amount of horizontal space. This contrasts with variable-width fonts, where the letters and spacings have different widths.

<span class="mw-page-title-main">Arial</span> Neo-grotesque sans-serif typeface

Arial is a sans-serif typeface and set of computer fonts in the neo-grotesque style. Fonts from the Arial family are included with all versions of Microsoft Windows after Windows 3.1, as well as in other Microsoft programs, Apple's macOS, and many PostScript 3 printers.

<span class="mw-page-title-main">Futura (typeface)</span> Geometric sans-serif typeface

Futura is a geometric sans-serif typeface designed by Paul Renner and released in 1927. It was designed as a contribution on the New Frankfurt-project. It is based on geometric shapes, especially the circle, similar in spirit to the Bauhaus design style of the period. It was developed as a typeface by the Bauer Type Foundry, in competition with Ludwig & Mayer's seminal Erbar typeface of 1926.

<span class="mw-page-title-main">Newline</span> Special characters in computing signifying the end of a line of text

A newline is a control character or sequence of control characters in character encoding specifications such as ASCII, EBCDIC, Unicode, etc. This character, or a sequence of characters, is used to signify the end of a line of text and the start of a new one.

<span class="mw-page-title-main">Japanese language and computers</span>

In relation to the Japanese language and computers many adaptation issues arise, some unique to Japanese and others common to languages which have a very large number of characters. The number of characters needed in order to write in English is quite small, and thus it is possible to use only one byte (28=256 possible values) to encode each English character. However, the number of characters in Japanese is many more than 256 and thus cannot be encoded using a single byte - Japanese is thus encoded using two or more bytes, in a so-called "double byte" or "multi-byte" encoding. Problems that arise relate to transliteration and romanization, character encoding, and input of Japanese text.

<span class="mw-page-title-main">Code 128</span> Barcode format

Code 128 is a high-density linear barcode symbology defined in ISO/IEC 15417:2007. It is used for alphanumeric or numeric-only barcodes. It can encode all 128 characters of ASCII and, by use of an extension symbol (FNC4), the Latin-1 characters defined in ISO/IEC 8859-1. It generally results in more compact barcodes compared to other methods like Code 39, especially when the texts contain mostly digits. Code 128 was developed by the Computer Identics Corporation in 1981.

A lightweight markup language (LML), also termed a simple or humane markup language, is a markup language with simple, unobtrusive syntax. It is designed to be easy to write using any generic text editor and easy to read in its raw form. Lightweight markup languages are used in applications where it may be necessary to read the raw document as well as the final rendered output.

A computer font is implemented as a digital data file containing a set of graphically related glyphs. A computer font is designed and created using a font editor. A computer font specifically designed for the computer screen, and not for printing, is a screen font.

<span class="mw-page-title-main">Myriad (typeface)</span> Humanist sans-serif typeface family

Myriad is a humanist sans-serif typeface designed by Robert Slimbach and Carol Twombly for Adobe Systems. Myriad was intended as a neutral, general-purpose typeface that could fulfill a range of uses and have a form easily expandable by computer-aided design to a large range of weights and widths.

A whitespace character is a character data element that represents white space when text is rendered for display by a computer.

<span class="mw-page-title-main">Rule 30</span> Elementary cellular automaton

Rule 30 is an elementary cellular automaton introduced by Stephen Wolfram in 1983. Using Wolfram's classification scheme, Rule 30 is a Class III rule, displaying aperiodic, chaotic behaviour.

A Unicode font is a computer font that maps glyphs to code points defined in the Unicode Standard. The vast majority of modern computer fonts use Unicode mappings, even those fonts which only include glyphs for a single writing system, or even only support the basic Latin alphabet. Fonts which support a wide range of Unicode scripts and Unicode symbols are sometimes referred to as "pan-Unicode fonts", although as the maximum number of glyphs that can be defined in a TrueType font is restricted to 65,535, it is not possible for a single font to provide individual glyphs for all defined Unicode characters. This article lists some widely used Unicode fonts that support a comparatively large number and broad range of Unicode characters.

The syntax and semantics of PHP, a programming language, form a set of rules that define how a PHP program can be written and interpreted.

Toybox is a free and open-source software implementation of over 200 Unix command line utilities such as ls, cp, and mv. The Toybox project was started in 2006, and became a 0BSD licensed BusyBox alternative. Toybox is used for most of Android's command-line tools in all currently supported Android versions, and is also used to build Android on Linux and macOS. All of the tools are tested on Linux, and many of them also work on BSD and macOS.

<span class="mw-page-title-main">Utopia (typeface)</span> Serif typeface

Utopia is the name of a transitional serif typeface designed by Robert Slimbach and released by Adobe Systems in 1989.

mandoc is a utility used for formatting man pages in BSD Operating Systems, specifically those written in the mdoc and man macro languages. Unlike the groff and older troff and nroff tools that are predominantly used for this purpose by tools such as man, mandoc focuses specifically on manuals and is not suitable for general-purpose type-setting.

References

  1. Chappell, Glen (1995). ""Why does FIGlet exist?" a history of FIGlet" . Retrieved 2008-04-25.
  2. "FIGLet home page" . Retrieved 2012-06-18.
  3. ""Why does FIGlet exist?" a history of FIGlet" . Retrieved 2011-01-15.
  4. "FIGlet FAQ" . Retrieved 2013-09-19.
  5. Stutz, Michael (2001). "Text Fonts". The Linux Cookbook . No Starch Press. ISBN   1-886411-48-4 . Retrieved 2008-04-25.
  6. Text::FIGlet
  7. "Official FIGlet FTP site" . Retrieved 2008-04-25.
  8. Rigaut, Benoît (1996). "Figlet Java". Archived from the original on 2008-05-09. Retrieved 2008-04-25.
  9. Gillespie, Pat (2006). "TAAG". Archived from the original on 2012-02-20. Retrieved 2008-05-01.
  10. Baltes, Lucas. "PHP Figlet" . Retrieved 2008-04-25.
  11. "Zend Framework – Zend_Text_Figlet Component". Archived from the original on 2012-08-22. Retrieved 2013-10-29.
  12. Jones, Christopher (2007). "pyfiglet" . Retrieved 2014-11-27.
  13. Sampson, Luke (13 December 2018). "GitHub - lukesampson/figlet: Figlet in Go". Github. Retrieved 13 December 2018.
  14. "TOIlet" . Retrieved 2010-01-29.