ArticleslgStudy

computer science

FIGlet

FIGlet is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand FIGlet rather than just read about it. In short: 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".

Key takeaways

  • FIGlet belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect FIGlet to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of FIGlet from memory before moving on to harder problems.

Reference excerpt

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". Being free software, FIGlet is commonly included as part of many Unix-like operating systems (Linux, 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). There are third-party reimplementations of FIGlet in Java (including one embedded in the JavE ASCII art editor), JavaScript, PHP, Python, and Go.

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:

-f to select a font file. (font files are available here) -d to change the directory for fonts. -c centers the output. -l left-aligns the output. -r right-aligns the output. -t sets the output width to the terminal width. -w specifies a custom output width. -k disables 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.

The following command:

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 __ __) (, ) | / , /) , /) , | /| / (/_ __ _ _(/ _ |/ |/ _(_/(___(_/_)__(/_(_(__(_(_(_ / | .-/ (_/

Banner (same as banner utility) # # # # # # # # # ##### ###### ##### # ## # # # # # # # # # # # # # # # # # # # #### # # # ##### # # # # # # # # # # # # ##### # # # # ###### # # # # # # # # # # # # # # ## ## # # # # # ###### ##### # # #

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. FIGlet supports TOIlet fonts as of version 2.2.4.

See also

banner (Unix) Cowsay

References

External links Official website FIGfont Documentation version 2 FIGfont and FIGdriver Standard Fonts library PHP library at PHP Nuget package for .NET Online FIGlet ASCII art generators Text Art Figlet Generator at TextArt.io TAAG (Text Ascii Art Generator) at Pat or JK ASCII signature at Julius Kammerl ASCII generator at Network Science

Worked examples

Example 1 — a first encounter with FIGlet

Start with the simplest possible case. Write down what FIGlet claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to FIGlet before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about FIGlet ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of FIGlet

In research
FIGlet appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses FIGlet in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
FIGlet is common in secondary-school and first-year university syllabi. It links to neighbouring topics ASCII art, Cross-platform software, Free software programmed in C, so understanding it makes those chapters shorter.
In everyday life
Look for FIGlet outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “FIGlet” →

How to study FIGlet in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what FIGlet means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain FIGlet out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is FIGlet in simple terms?

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".

Why does FIGlet matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study FIGlet?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on FIGlet.

Tags

  • ASCII art
  • Cross-platform software
  • Free software programmed in C
  • Free typesetting software

Keep exploring