2017-01-19 22:49:50 +00:00
|
|
|
# figlet
|
|
|
|
|
|
|
|
> Generate ASCII banners from user input.
|
2021-08-30 01:38:30 +01:00
|
|
|
> See also: `showfigfonts`.
|
2021-04-17 16:15:37 +01:00
|
|
|
> More information: <http://www.figlet.org/figlet-man.html>.
|
2017-01-19 22:49:50 +00:00
|
|
|
|
|
|
|
- Generate by directly inputting text:
|
|
|
|
|
|
|
|
`figlet {{input_text}}`
|
|
|
|
|
2024-03-15 20:15:50 +00:00
|
|
|
- Use a custom [f]ont file:
|
2017-01-19 22:49:50 +00:00
|
|
|
|
2021-07-14 20:31:29 +01:00
|
|
|
`figlet {{input_text}} -f {{path/to/font_file.flf}}`
|
|
|
|
|
2024-03-15 20:15:50 +00:00
|
|
|
- Use a [f]ont from the default font directory (the extension can be omitted):
|
2021-07-14 20:31:29 +01:00
|
|
|
|
2020-05-22 13:31:24 +01:00
|
|
|
`figlet {{input_text}} -f {{font_filename}}`
|
2017-01-19 22:49:50 +00:00
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Pipe command output through FIGlet:
|
2017-01-19 22:49:50 +00:00
|
|
|
|
|
|
|
`{{command}} | figlet`
|
2021-08-15 18:59:09 +01:00
|
|
|
|
|
|
|
- Show available FIGlet fonts:
|
|
|
|
|
|
|
|
`showfigfonts {{optional_string_to_display}}`
|
2024-03-15 20:15:50 +00:00
|
|
|
|
|
|
|
- Use the full width of the [t]erminal and [c]enter the input text:
|
|
|
|
|
|
|
|
`figlet -t -c {{input_text}}`
|
|
|
|
|
|
|
|
- Display all characters at full [W]idth to avoid overlapping:
|
|
|
|
|
|
|
|
`figlet -W {{input_text}}`
|